You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to get daily cases and deaths for all states in the US. However, I've found that the output of getAdmin1ByCountry is not as complete as the output of getEpiData for an individual state. See the below example involving Nevada:
> library( outbreakinfo )
Warning message:
replacing previous import ‘jsonlite::flatten’ by ‘purrr::flatten’ when loading ‘outbreakinfo’
> library( dplyr )
Attaching package: ‘dplyr’
The following objects are masked from ‘package:stats’:
filter, lag
The following objects are masked from ‘package:base’:
intersect, setdiff, setequal, union
> nv <- getEpiData( "Nevada", admin_level = 1 )
downloading [==============================] 100% eta: 0s
> dim( nv )
[1] 880 56
> nv_admin <- getAdmn1ByCountry("United States of America") %>% filter( name=="Nevada" )
downloading [==============>---------------] 51% eta: 3m
> dim( nv_admin )
[1] 300 57
I think the problem is that the output of getAdmin1ByCountry seems to be capped at 26,000 rows, and the expected output would be ~44,000 rows.
The text was updated successfully, but these errors were encountered:
I'm trying to get daily cases and deaths for all states in the US. However, I've found that the output of
getAdmin1ByCountry
is not as complete as the output ofgetEpiData
for an individual state. See the below example involving Nevada:I think the problem is that the output of
getAdmin1ByCountry
seems to be capped at 26,000 rows, and the expected output would be ~44,000 rows.The text was updated successfully, but these errors were encountered: