Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_afltables_stats returns full finals names for 2017 and 2018 seasons #45

Closed
insightlane opened this issue Oct 2, 2018 · 2 comments
Closed
Assignees
Labels
bug an unexpected problem or unintended behavior

Comments

@insightlane
Copy link

afltables_data_new <- get_afltables_stats(start_date = "1897-05-07", end_date = Sys.Date())

afltables_data_new %>%

  • filter(Season == 2016 & Round == "GF")

A tibble: 44 x 59

Groups: Season, Round, Home.team, Away.team [1]

Season Round Date Local.start.time Venue Attendance Home.team HQ1G HQ1B HQ2G HQ2B HQ3G HQ3B HQ4G HQ4B

1 2016 GF 2016-10-01 1430 M.C.G. 99981 Western Bulld~ 2 0 7 1 9 7 13 11
2 2016 GF 2016-10-01 1430 M.C.G. 99981 Western Bulld~ 2 0 7 1 9 7 13 11
3 2016 GF 2016-10-01 1430 M.C.G. 99981 Western Bulld~ 2 0 7 1 9 7 13 11
4 2016 GF 2016-10-01 1430 M.C.G. 99981 Western Bulld~ 2 0 7 1 9 7 13 11
5 2016 GF 2016-10-01 1430 M.C.G. 99981 Western Bulld~ 2 0 7 1 9 7 13 11
6 2016 GF 2016-10-01 1430 M.C.G. 99981 Western Bulld~ 2 0 7 1 9 7 13 11
7 2016 GF 2016-10-01 1430 M.C.G. 99981 Western Bulld~ 2 0 7 1 9 7 13 11
8 2016 GF 2016-10-01 1430 M.C.G. 99981 Western Bulld~ 2 0 7 1 9 7 13 11
9 2016 GF 2016-10-01 1430 M.C.G. 99981 Western Bulld~ 2 0 7 1 9 7 13 11
10 2016 GF 2016-10-01 1430 M.C.G. 99981 Western Bulld~ 2 0 7 1 9 7 13 11

... with 34 more rows, and 44 more variables: Home.score , Away.team , AQ1G , AQ1B , AQ2G ,

AQ2B , AQ3G , AQ3B , AQ4G , AQ4B , Away.score , First.name , Surname , ID ,

Jumper.No. , Playing.for , Kicks , Marks , Handballs , Goals , Behinds ,

Hit.Outs , Tackles , Rebounds , Inside.50s , Clearances , Clangers , Frees.For ,

Frees.Against , Brownlow.Votes , Contested.Possessions , Uncontested.Possessions ,

Contested.Marks , Marks.Inside.50 , One.Percenters , Bounces , Goal.Assists ,

Time.on.Ground.. , Substitute , Umpire.1 , Umpire.2 , Umpire.3 , Umpire.4 , group_id

afltables_data_new %>%

  • filter(Season == 2017 & Round == "Grand Final")

A tibble: 44 x 59

Groups: Season, Round, Home.team, Away.team [1]

Season Round Date Local.start.time Venue Attendance Home.team HQ1G HQ1B HQ2G HQ2B HQ3G HQ3B HQ4G HQ4B

1 2017 Grand Fi~ 2017-09-30 1430 "M.C.G~ 100021 Richmond 2 3 6 4 11 8 16 12
2 2017 Grand Fi~ 2017-09-30 1430 "M.C.G~ 100021 Richmond 2 3 6 4 11 8 16 12
3 2017 Grand Fi~ 2017-09-30 1430 "M.C.G~ 100021 Richmond 2 3 6 4 11 8 16 12
4 2017 Grand Fi~ 2017-09-30 1430 "M.C.G~ 100021 Richmond 2 3 6 4 11 8 16 12
5 2017 Grand Fi~ 2017-09-30 1430 "M.C.G~ 100021 Richmond 2 3 6 4 11 8 16 12
6 2017 Grand Fi~ 2017-09-30 1430 "M.C.G~ 100021 Richmond 2 3 6 4 11 8 16 12
7 2017 Grand Fi~ 2017-09-30 1430 "M.C.G~ 100021 Richmond 2 3 6 4 11 8 16 12
8 2017 Grand Fi~ 2017-09-30 1430 "M.C.G~ 100021 Richmond 2 3 6 4 11 8 16 12
9 2017 Grand Fi~ 2017-09-30 1430 "M.C.G~ 100021 Richmond 2 3 6 4 11 8 16 12
10 2017 Grand Fi~ 2017-09-30 1430 "M.C.G~ 100021 Richmond 2 3 6 4 11 8 16 12

... with 34 more rows, and 44 more variables: Home.score , Away.team , AQ1G , AQ1B , AQ2G ,

AQ2B , AQ3G , AQ3B , AQ4G , AQ4B , Away.score , First.name , Surname , ID ,

Jumper.No. , Playing.for , Kicks , Marks , Handballs , Goals , Behinds ,

Hit.Outs , Tackles , Rebounds , Inside.50s , Clearances , Clangers , Frees.For ,

Frees.Against , Brownlow.Votes , Contested.Possessions , Uncontested.Possessions ,

Contested.Marks , Marks.Inside.50 , One.Percenters , Bounces , Goal.Assists ,

Time.on.Ground.. , Substitute , Umpire.1 , Umpire.2 , Umpire.3 , Umpire.4 , group_id

@jimmyday12 jimmyday12 self-assigned this Oct 3, 2018
@jimmyday12 jimmyday12 added the bug an unexpected problem or unintended behavior label Oct 3, 2018
@jimmyday12
Copy link
Owner

Thanks mate, there are some strange parsing problems with afltables and finals. Thought I had sorted them all but will take a look!

@insightlane
Copy link
Author

This one is more around the round names (e.g. 2016 uses "GF" and 2017 uses "Grand Final") etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants