/delphiepidata

Query the 'CMU' 'DELPHI' Epidemiological Data 'API' (package wrapper https://github.com/cmu-delphi/delphi-epidata/blob/master/src/client/delphi_epidata.R)

Primary LanguageROtherNOASSERTION

Travis-CI Build Status Coverage Status CRAN_Status_Badge

delphiepidata

Query the ‘CMU’ ‘DELPHI’ Epidemiological Data ‘API’

Description

The ‘CMU’ ‘DELPHI’ (https://delphi.midas.cs.cmu.edu/) service provides an aggregated, central point of access to influenza-like illness (‘ILI’) related data sources. Methods are provided to query all supported endpoints.

What’s Inside The Tin

The following functions are implemented:

  • cdc: Fetch CDC page hits
  • delphi: Fetch Delphi’s forecast
  • dengue_nowcast: Fetch Delphi’s PAHO Dengue nowcast
  • dengue_sensors: Fetch Delphi’s digital surveillance sensors
  • flusurv: Fetch FluSurv data
  • fluview: Fetch FluView data
  • fluview_clinical: Fetch FluView virological data
  • gft: Fetch Google Flu Trends data
  • ght: Fetch Google Health Trends data
  • meta: Fetch API metadata
  • meta_norostat: Fetch NoroSTAT metadata
  • nidss_dengue: Fetch NIDSS dengue data
  • nidss_flu: Fetch NIDSS flu data
  • norostat: Fetch NoroSTAT data (point data, no min/max)
  • nowcast: Fetch Delphi’s wILI nowcast
  • quidel: Fetch Quidel data
  • sensors: Fetch Delphi’s digital surveillance sensors
  • twitter: Fetch HealthTweets data
  • wiki: Fetch Wikipedia access data

Installation

devtools::install_git("https://sr.ht.com/~hrbrmstr/delphiepidata.git")
# or
devtools::install_gitlab("hrbrmstr/delphiepidata")
# or (if you must)
devtools::install_github("hrbrmstr/delphiepidata")

Usage

library(delphiepidata)

# current version
packageVersion("delphiepidata")
## [1] '0.1.0'

delphiepidata Metrics

Lang # Files (%) LoC (%) Blank lines (%) # Lines (%)
R 9 0.9 374 0.98 45 0.7 206 0.79
Rmd 1 0.1 8 0.02 19 0.3 54 0.21

Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.