epidatr1.2.0 package

Client for Delphi's 'Epidata' API

cache_info

Describe current cache

check_is_cachable

helper that checks whether a call is actually cachable

check_is_recent

helper that checks whether a call is a somewhat dangerous cache

get_wildcard_equivalent_dates

helper to convert a date wildcard ("*") to an appropriate epirange

parse_api_week

parse_api_week converts an integer to a date

parse_signal

turn a signal into a callable

pub_covidcast_meta

Metadata for the COVIDcast endpoint

pub_delphi

Delphi's ILINet outpatient doctor visits forecasts

pub_dengue_nowcast

Delphi's PAHO dengue nowcasts (North and South America)

pub_paho_dengue

PAHO dengue data (North and South America)

pvt_quidel

Quidel COVID-19 and influenza testing data

timeset

Timeset formats for specifying dates

with_base_url

epidata_call object using a different base URL

assert_timeset_param

Allows a timeset param: a date vector, a character vector, an integer-...

avail_endpoints

List all available Epidata API endpoints

cache_epidata_call

Dispatch caching

assert_character_param

Allows character vectors

assert_date_param

Allows a vector of date_like params: date, character, or integer-like

assert_integerish_param

Allows integer-like vectors

clear_cache

Manually reset the cache, deleting all currently saved data and starti...

covidcast_epidata

Creates the COVIDcast Epidata autocomplete helper

date_to_epiweek

Converts a date (integer or character) to an epiweek

disable_cache

Turn off the caching for this session

do_request

performs the request

epidata_call

An abstraction that holds information needed to make an epidata reques...

epidatr-package

epidatr: Client for Delphi's 'Epidata' API

epirange

Specify a range of days or weeks for API requests

fetch_args_list

Set custom API request parameters

fetch_classic

Fetches the data, raises on epidata errors, and returns the results as...

fetch_tbl

Fetches the data and returns a tibble

format_item

Helper function to cast values, non-list vectors, and/or EpiRanges to ...

format_list

Helper function to build a list of values and/or ranges

get_api_key

Get and set API keys

pub_covid_hosp_facility

COVID hospitalizations by facility

pub_covid_hosp_facility_lookup

Helper for finding COVID hospitalization facilities

pub_covid_hosp_state_timeseries

COVID hospitalizations by state

pub_covidcast

Various COVID and flu signals via the COVIDcast endpoint

pub_ecdc_ili

ECDC ILI incidence (Europe)

pub_flusurv

CDC FluSurv flu hospitalizations

pub_fluview

CDC FluView ILINet outpatient doctor visits

pub_fluview_clinical

CDC FluView flu tests from clinical labs

pub_fluview_meta

Metadata for the FluView endpoint

pub_gft

Google Flu Trends flu search volume

pub_kcdc_ili

KCDC ILI incidence (Korea)

pub_meta

Metadata for the Delphi Epidata API

pub_nidss_dengue

NIDSS dengue cases (Taiwan)

pub_nidss_flu

NIDSS flu doctor visits (Taiwan)

pub_nowcast

Delphi's ILI Nearby nowcasts

pub_wiki

Wikipedia webpage counts by article

pvt_cdc

CDC total and by topic webpage visits

pvt_dengue_sensors

PAHO dengue digital surveillance sensors (North and South America)

pvt_ght

Google Health Trends health topics search volume

pvt_meta_norostat

Metadata for the NoroSTAT endpoint

pvt_norostat

CDC NoroSTAT norovirus outbreaks

pvt_sensors

Influenza and dengue digital surveillance sensors

pvt_twitter

HealthTweets total and influenza-related tweets

reformat_epirange

helper to convert an epirange from week to day or vice versa

release_bullets

inserts each string as a bullet at the end of the "Prepare for release...

request_impl

Makes a request to the API and returns the response, catching HTTP err...

request_url

Returns the full request url for the given epidata_call

set_cache

Create or renew a cache for this session

The Delphi 'Epidata' API provides real-time access to epidemiological surveillance data for influenza, 'COVID-19', and other diseases for the USA at various geographical resolutions, both from official government sources such as the Center for Disease Control (CDC) and Google Trends and private partners such as Facebook and Change 'Healthcare'. It is built and maintained by the Carnegie Mellon University Delphi research group. To cite this API: David C. Farrow, Logan C. Brooks, Aaron 'Rumack', Ryan J. 'Tibshirani', 'Roni' 'Rosenfeld' (2015). Delphi 'Epidata' API. <https://github.com/cmu-delphi/delphi-epidata>.

  • Maintainer: David Weber
  • License: MIT + file LICENSE
  • Last published: 2024-06-20