Changelog¶
v0.2.2, October 10, 2023¶
New feature: Web requests now identify themselves with a covidcast-specific “user agent” string.
Update: Now uses newer version of the delphi-epidata libarary.
Bug fix: Removed usage of PHP alias endpoint for compatibility with new delphi-epidata version.
Deprecated function: Private method
_async_fetch_epidata()
has been deprecated.
v0.2.1, June 1, 2023¶
Bug fix: Corrected how API keys are installed in the underlying interface.
Bug fix: Corrected minimum dependency version for delphi-epidata library.
Update: Replaced link for API key registration.
v0.2.0, May 23, 2023¶
New feature: This package now supports queries that require an API key. Call
covidcast.use_api_key()
before running fetch functions to authenticate your requests.
v0.1.5, May 11, 2021¶
New feature:
covidcast.signal()
now supports fetching signals usingtime_type="week"
(when available from the Epidata API).Bug fix: Better detection of API error conditions when queries fail.
v0.1.4, February 24, 2021¶
New feature:
covidcast.signal()
can now use asynchronous calls. It is primarily for Delphi internal use; please consult with us if you intend to use this feature.
v0.1.3, January 5, 2021¶
New feature:
covidcast.signal()
now retrieves HHS (geo_type="hhs"
) and nation (geo_type="nation"
) level signals (if available from the Epidata API).
v0.1.2, December 10, 2020¶
Bug fix: Fix issue where introduction of weekly signals broke the
covidcast.metadata()
function.
v0.1.1, November 22, 2020¶
Bug fix: A shapefile packaging issue, which broke
covidcast.plot()
for metropolitan statistical areas and hospital referral regions, is now resolved.Update:
Direction
is no longer supported and has been removed from the output ofcovidcast.signal()
. To measure increasing or decreasing trends in signals, we recommend implementing your own method based on your application’s specific needs.New feature: Functions
covidcast.fips_to_abbr()
andcovidcast.abbr_to_fips()
to convert between state FIPS codes and their abbreviations.New feature: Function
covidcast.plot()
now supports bubble plots with the argumentplot_type="bubble"
v0.1.0, October 1, 2020¶
New feature: Functions
covidcast.fips_to_name()
,covidcast.cbsa_to_name()
, andcovidcast.abbr_to_name()
are provided to convert FIPS codes, CBSA IDs, and two-letter abbreviations to county names, metropolitan statistical area (MSA) names, and state names, respectively.New feature: Functions
covidcast.name_to_fips()
,covidcast.name_to_cbsa()
, andcovidcast.name_to_fips()
are provided to convert human-readable names into FIPS codes, CBSA IDs, and state abbreviations, for use when querying the COVIDcast API.New feature: Function
covidcast.animate()
can take a DataFrame returned bycovidcast.signal()
and generate an animated video of the signal over time.New feature: Function
covidcast.plot_choropleth()
can now plot signals for hospital referral regions (HRRs) and metropolitan statistical areas (MSAs), in addition to states and counties.New feature: Function
covidcast.aggregate_signals()
shifts and combines multiple signals into a single DataFrame for convenient signal comparisons across time.Bug fix: The
time_value
argument to thecovidcast.plot_choropleth()
function can now accept datetimedatetime
anddate
objects, instead of only pandas Timestamps.Bug fix:
covidcast.signal()
no longer returns duplicate values if duplicategeo_values
are provided in the function call.Deprecated function:
covidcast.plot_choropleth()
has been deprecated and is not replaced bycovidcast.plot()
.
v0.0.9, August 30, 2020¶
New feature:
covidcast.plot_choropleth()
andcovidcast.get_geo_df()
add mapping and plotting capabilities that can be used with the data returned bycovidcast.signal()
. See the function documentation and plotting examples for more details.
v0.0.8, July 26, 2020¶
New feature:
covidcast.signal()
now accepts argumentsas_of
,issues
, andlag
to request data that was issued on a specific date, or only the data that was available on a certain date. The default behavior is to return the only most up-to-date data, matching the client’s previous behavior, but users can now request prior versions of data when desired. See the function documentation for more details.
v0.0.7, June 29, 2020¶
Addition:
covidcast.metadata()
returns a data frame of all available sources and signals, with metadata about each.
v0.0.6, June 22, 2020¶
Minor API change:
covidcast.signal()
now takes ageo_values
argument that can include multiple geographies, rather than a singlegeo_value
argument.Improved documentation.
v0.0.5, June 19, 2020¶
First public usable release.