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

Adelaide team data missing for Round 1-3, 2017 #27

Closed
jimmyday12 opened this issue Aug 15, 2018 · 0 comments
Closed

Adelaide team data missing for Round 1-3, 2017 #27

jimmyday12 opened this issue Aug 15, 2018 · 0 comments
Assignees
Labels
bug

Comments

@jimmyday12
Copy link
Owner

@jimmyday12 jimmyday12 commented Aug 15, 2018

There is data missing for Adelaide for rounds 1-3, 2017. Suspect this is related to the initial data dump from afltables.

It doesn't output any data for Adelaide even though it does for the team Adelaide played against.

reprex below

library(fitzRoy)
library(tidyverse)

dat <- get_afltables_stats("2017-01-01", "2017-12-01")

dat %>%
  filter(Round %in% c("1", "2", "3")) %>%
  filter(Playing.for=="Adelaide")
#> # A tibble: 0 x 58
#> # ... with 58 variables: Season <int>, Round <chr>, Date <date>,
#> #   Local.start.time <int>, Venue <chr>, Attendance <int>,
#> #   Home.team <chr>, HQ1G <int>, HQ1B <int>, HQ2G <int>, HQ2B <int>,
#> #   HQ3G <int>, HQ3B <int>, HQ4G <int>, HQ4B <int>, Home.score <int>,
#> #   Away.team <chr>, AQ1G <int>, AQ1B <int>, AQ2G <int>, AQ2B <int>,
#> #   AQ3G <int>, AQ3B <int>, AQ4G <int>, AQ4B <int>, Away.score <int>,
#> #   First.name <chr>, Surname <chr>, ID <dbl>, Jumper.No. <int>,
#> #   Playing.for <chr>, Kicks <dbl>, Marks <dbl>, Handballs <dbl>,
#> #   Goals <dbl>, Behinds <dbl>, Hit.Outs <dbl>, Tackles <dbl>,
#> #   Rebounds <dbl>, Inside.50s <dbl>, Clearances <dbl>, Clangers <dbl>,
#> #   Frees.For <dbl>, Frees.Against <dbl>, Brownlow.Votes <dbl>,
#> #   Contested.Possessions <dbl>, Uncontested.Possessions <dbl>,
#> #   Contested.Marks <dbl>, Marks.Inside.50 <dbl>, One.Percenters <dbl>,
#> #   Bounces <dbl>, Goal.Assists <dbl>, Time.on.Ground.. <int>,
#> #   Substitute <int>, Umpire.1 <chr>, Umpire.2 <chr>, Umpire.3 <chr>,
#> #   Umpire.4 <chr>

Created on 2018-08-16 by the reprex
package
(v0.2.0).

@jimmyday12 jimmyday12 added the bug label Aug 15, 2018
@jimmyday12 jimmyday12 self-assigned this Aug 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.