Skip to content

epidatr 1.2.0

Compare
Choose a tag to compare
@dsweber2 dsweber2 released this 20 Mar 19:36
· 0 commits to 9a79a8bcb534ccd915a1189294cd6131053bc666 since this release

Changes

  • Improve handling of the EPIDATR_USE_CACHE environment variable, allowing it
    to be any value convertable by as.logical() and handle the case when it
    can't be converted.
  • Support more date formats in function to convert dates to epiweeks. Use parse_api_date since it already supports both common formats. #276
  • EPIDATR_USE_CACHE only supported exactly "TRUE" before. Now it supports all logical values and includes a warning when any value that can't be converted to logical is provided. #273
  • missing doesn't count default values as non-missing. If a user doesn't pass geo_values or time_values (both of which default to "*" in pub_covidcast), or dates (in pub_covid_hosp_state_timeseries), the missing check fails. To avoid this, just don't check missingness of those two arguments.