Skip to content

Typo in flusurv column spec #85

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

Closed
brookslogan opened this issue Apr 12, 2023 · 0 comments · Fixed by #81
Closed

Typo in flusurv column spec #85

brookslogan opened this issue Apr 12, 2023 · 0 comments · Fixed by #81
Assignees
Labels
bug Something isn't working good first issue Good for newcomers P2 low priority

Comments

@brookslogan
Copy link
Contributor

rage_age_0 should be rate_age_0, etc. This appears to just cause extra warnings rather than preventing use altogether, so lower priority.

library(magrittr)
library(epidatr)
flusurv("network_all", epiweeks=epirange(123401, 345601)) %>%
  fetch_tbl()
#> Warning: The following named parsers don't match the column names: rage_age_0,
#> rage_age_1, rage_age_2, rage_age_3, rage_age_4, rage_overall
#> Warning: One or more parsing issues, call `problems()` on your data frame for details,
#> e.g.:
#>   dat <- vroom(...)
#>   problems(dat)
#> # A tibble: 336 × 11
#>    release_date location    issue  epiweek      lag rate_age_0 rate_age_1
#>    <chr>        <chr>       <date> <date>     <int>      <dbl>      <dbl>
#>  1 2017-05-19   network_all NA     2009-08-30   401      0.467      0.316
#>  2 2017-05-19   network_all NA     2009-09-06   400      2.04       0.904
#>  3 2017-05-19   network_all NA     2009-09-13   399      2.04       0.836
#>  4 2017-05-19   network_all NA     2009-09-20   398      2.10       1.31 
#>  5 2017-05-19   network_all NA     2009-09-27   397      4.26       2.01 
#>  6 2017-05-19   network_all NA     2009-10-04   396      7.18       3.70 
#>  7 2017-05-19   network_all NA     2009-10-11   395     10.2        4.38 
#>  8 2017-05-19   network_all NA     2009-10-18   394     10.8        4.09 
#>  9 2017-05-19   network_all NA     2009-10-25   393      8.24       3.59 
#> 10 2017-05-19   network_all NA     2009-11-01   392      5.96       2.30 
#> # ℹ 326 more rows
#> # ℹ 4 more variables: rate_age_2 <dbl>, rate_age_3 <dbl>, rate_age_4 <dbl>,
#> #   rate_overall <dbl>

Created on 2023-04-12 with reprex v2.0.2

@brookslogan brookslogan added bug Something isn't working good first issue Good for newcomers P2 low priority labels Apr 12, 2023
dshemetov added a commit that referenced this issue Apr 20, 2023
@dshemetov dshemetov self-assigned this Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers P2 low priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants