reference_week_day argument to
fetch_args_list and fetch functions.time_type is one of “day” or “week” in
pub_covidcast.time_type is “week” when source is “nssp”
in pub_covidcast.hsa_nci as a geo_type in
pub_covidcast.hsa_nci as a geo_type in
pub_covidcast_meta.pub_covidcast_meta now returns min_time,
max_time, max_issue as integers rather than
Dates. Because these fields can mix YYYYMMDD and YYYYWW values, we
recommend you parse them yourself.flusurv endpoint.covidcast_epidata() will still print if
fields are missing.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.parse_api_date since it already supports both common
formats. #276EPIDATR_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. #273missing 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.fetch_args_list now has an refresh_cache
argument, which is FALSE by default.as_of values in
Date format to pub_covidcast while caching is
enabled (#259).pub_covidcast data source
nchs-mortality, parse dates as epiweek and
expect epiweek inputs from user (#260).pub_covidcast when user doesn’t pass
geo_values or time_values, even though those
arguments have defaults (#268).pub_covid_hosp_state_timeseries now supports use of the
as_of parameter (#209).release_date and latest_update fields are
now parsed as Date, rather than as text. This change
impacts several endpoints.get_auth_key renamed to get_api_key
(#181).get_api_key no longer reads from R options and only
uses environment variables (#217).pvt_twitter and pub_wiki now use
time_type and time_values args instead of
mutually exclusive dates and epiweeks (#236).
This matches the interface of the pub_covidcast
endpoint.timeout_seconds to 15 minutes to
allow large queries by default.Date objects passed to version arguments
as_of and issues in endpoints (#192,
#194).clear_cache now handles positional arguments just like
set_cache (#197).set_api_key now available to help persist API key
environment variables (#181, #217).pub_fluview_meta fixed to fetch the
response automatically.pub_covid_hosp_state_timeseries now correctly parses
the issue field, instead of returning a missing value
(#202).pub_fluview_meta, latest_issue field is
now parsed as epiweek, rather than being parsed as Date and
returning a missing value.set_cache cache size no longer runs into integer
overflow (#189).set_cache and other caching functions.pub_.avail_endpoints to be more
readable.covidcast_epidata() to be more
readable.fetch function internal.fetch and fetch_* function
interfaces now rely on fetch_args_list.fetch_args_list which returns a list of arguments
to be passed to fetch.covidcast_epidata.covidcast_epidata as experimental and do not
export it.covidcast arg data_source to
source.covidcast args issues,
lag, and as_of mutually exclusive.covid_hosp_facility_lookup args
state, ccn, city,
zip, and fips_code mutually exclusive.timeout_seconds and return_empty
arguments to fetch().fetch_{tbl,classic,df,json,csv} functions have been
replaced by the fetch() function, which almost always
returns a tibble, except when used with a limited number of older
endpoints (such as delphi() and meta()), where
it will output a nested list structure.delphi.epidata to epidatr. To migrate, run the
installation command above, followed by
remove.packages("delphi.epidata"), and adjust all
references to the package name accordingly.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.