Skip to content

Typo in flusurv column spec #85

@brookslogan

Description

@brookslogan

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

Metadata

Metadata

Assignees

Labels

P2low prioritybugSomething isn't workinggood first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions