Find Jobs
Hire Freelancers

R assignment

$10-30 USD

进行中
已发布超过 1 年前

$10-30 USD

货到付款
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: 34978601

关于此项目

6提案
远程项目
活跃2 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
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 在7天之内
4.8 (67条评论)
5.8
5.8
6威客以平均价$29 USD来参与此工作竞价
用户头像
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 在7天之内
5.0 (4条评论)
3.8
3.8
用户头像
Hi, I am interested with your project. I would like to discuss it with more details. Hope to hear from you soon.
$20 USD 在7天之内
4.5 (8条评论)
3.4
3.4
用户头像
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 在3天之内
5.0 (3条评论)
2.0
2.0
用户头像
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 在2天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED STATES的国旗
Louisville, United States
0.0
0
付款方式已验证
会员自10月 20, 2022起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。