epiforecasts / NCoVUtils

Utility functions for the 2019-NCoV outbreak
https://epiforecasts.io/NCoVUtils/
Other
27 stars 13 forks source link

updates to get_us_regional_cases #32

Closed hamishgibbs closed 4 years ago

hamishgibbs commented 4 years ago

CSSEGISandData https://github.com/CSSEGISandData/COVID-19 has changed data formats and no longer returns US state level cases.

Previous data source has been replaced with New York Times: https://github.com/nytimes/covid-19-data.

Added functionality:

  1. Return county or state level case and death counts.
  2. Return summary of total cases and deaths or full timeseries.
seabbs commented 4 years ago

Looks okay but not passing travis?

seabbs commented 4 years ago

This is the issue I am seeing:

odoc mismatches from documentation object 'get_us_regional_cases':
1226get_us_regional_cases
1227  Code: function(level = "state", out = "timeseries")
1228  Docs: function()
1229  Argument names in code not in docs:
1230    level out
hamishgibbs commented 4 years ago

Docs needed to be updated, I resolved a number of conflicts manually.