Find Jobs
Hire Freelancers

R assignment

$10-30 USD

V teku
Objavljeno pred več kot 1 letom

$10-30 USD

Plačilo ob dostavi
English Premier League Soccer Standings The English Premier League (EPL) is a major soccer league in Great Britain consisting of 20 teams. The season begins in August and concludes in May with each team playing each other team exactly twice (home and away). Each team plays 38 games in a season while the total number of games is 380. A team receives 3 points for a win and if the game is tied, both teams receive 1 point; no points are awarded for a loss. The EPL game results are found at [login to view URL] under the heading Premier League. Your Assignment: Develop a function with the inputs of date and season that returns the league standings for the date and season specified. The season specified should, at a minimum, accept the current seasons and both of the two most recently completed seasons in order for your submission to be eligible for full credit. Data: • The csv data files available via the weblink provided above contain a lot of information that is not needed for this assignment. The critical information is: o Date (in day/month/year format) o Home Team o Away Team o FTHG – the number of goals scored by the home team o FTAG – the number of goals scored by the away team o FTR – the result of the match (H indicates home team won, A indicates the away team won, D indicates a draw or tie) • The data for previous seasons is static (unchanging) but the data for the current season changes whenever a game is played. Your function should read the data directly from the web pages and not from a csv file stored on your hard drive. The [login to view URL]()command will do this easily where the url is used instead of the filename. • Notice that the year in the date column sometimes appears as a 2-digit value but sometimes it appears as 4-digit value. Your function will need to address this issue. • Check that the data column names are consistent from season to season; if they are not, you need to address this issue in your function. Requirements: • Your function should be named EPL_Standings. Any other function name will lose points in grading. Consistent naming is very important, as I will be testing each of your submissions with a grading script that will only look for the exact function name listed above. • The parameters (arguments) of the function are, in order, o Date, in the mm/dd/yy format, and o Season specified by yyyy/yy, such as 2019/20 Example Function Usage: If I were to load your script and enter the following command in my R console: EPL_Standings(“04/25/2019”, “2018/19”) Your function should return information specified below on the 2018/19 season at the conclusion of all matches played on April 25, 2019. Function Specifications: • The function should accomplish two goals. It should o return a data frame described in the next bullet, and o display the standings in descending order according to the number of points per match earned up to and including the date parameter value. When two teams have the same number of points per match, the teams should appear in descending order according to the number of points per match, then wins, then goals scored per match and finally ascending according to goals allowed per match. • Along with the team name (named TeamName), the data frame returned by the function will contain the following columns where the column name is specified in parentheses: o record as wins-loses-ties (Record) o home record (HomeRec) o away record (AwayRec) o matches played (MathchesPlayed) o points (Points), o points per match (PPM), o point percentage = points / 3 * the number of games played, (PtPct) o goals scored (GS), o goals scored per match (GSM) o goals allowed (GA) o goals allowed per match (GAM)
ID projekta: 34978601

Več o projektu

6 ponudb
Projekt na daljavo
Aktivno pred 2 letoma

Želite zaslužiti?

Prednosti oddajanja ponudb na Freelancerju

Nastavite svoj proračun in časovni okvir
Prejmite plačilo za svoje delo
Povzetek predloga
Registracija in oddajanje ponudb sta brezplačna
Dodeljeno:
Avatar uporabnika
Hello, I am currently pursuing a PhD at CAS, Beijing. I completed bachelor's and master’s degrees in Statistics and Data science respectively. Having 10+ years of experience in the area of statistical and machine learning algorithms and models. I am an advanced R programmer also have additional knowledge of other language and software packages. However, I have completed several training workshop on R in university and research institute as an invited trainer. I can ensure you to write the in efficient way within short period of time. I look forward to talk with you over a chat. Thanks
$55 USD v 7 dneh
4,8 (67 ocen)
5,8
5,8
6 freelancerjev je oddalo ponudbo s povprečno vrednostjo $29 USD za to delo
Avatar uporabnika
Hello, Nice meet you! I have read your project requirements and then I am sure I can complete that project. I can help you. Thank you.
$20 USD v 7 dneh
5,0 (4 ocen)
3,8
3,8
Avatar uporabnika
Hi, I am interested with your project. I would like to discuss it with more details. Hope to hear from you soon.
$20 USD v 7 dneh
4,5 (8 ocen)
3,4
3,4
Avatar uporabnika
Hi, Dear Employer, I have read your whole Project description and the checked your attached file carefully and title "R assignment.", And understand your requirements well. Now I can say with confident that I can do it perfectly. I can write clean validated SPSS, Statistics, R Programming (ML) code and make a device-supported File. I have over seven-plus years of experience at the : ✔R program, ✔SPSS, ✔Statistics. Please feel free to discuss more with me, and you may award me the job; I'd be happy and I will present you the best projects as your requiements. So let's discuss more by via chat box, and I'll start your project right now. Best Wishes by Eng. Bablu.
$20 USD v 3 dneh
5,0 (3 ocen)
2,0
2,0
Avatar uporabnika
Hello, I just read your posting and it sounds like you need a R Expert. I have rich experience in these fields and I always provide my clients only perfect results in a short time. If you give me a chance, I will provide you the perfect service. Best Regards, Karol Dayan
$30 USD v 2 dneh
0,0 (0 ocen)
0,0
0,0

O stranki

Zastava UNITED STATES
Louisville, United States
0,0
0
Plačilna metoda je verificirana
Član(ica) od okt. 20, 2022

Verifikacija stranke

Hvala! Po e-pošti smo vam poslali povezavo za prevzem brezplačnega dobropisa.
Pri pošiljanju vašega e-sporočila je šlo nekaj narobe. Poskusite znova.
Registrirani uporabniki Skupaj objavljenih del
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Nalaganje predogleda
Geolociranje je bilo dovoljeno.
Vaša prijavna seja je potekla, zato ste bili odjavljeni. Prosimo, da se znova prijavite.