diff --git a/.gitignore b/.gitignore index 73bccc71..0525b5b7 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,4 @@ .Ruserdata docs inst/doc -/man -/NAMESPACE /check \ No newline at end of file diff --git a/NAMESPACE b/NAMESPACE new file mode 100644 index 00000000..b759fda9 --- /dev/null +++ b/NAMESPACE @@ -0,0 +1,51 @@ +# Generated by roxygen2: do not edit by hand + +export(covid_hosp_facility) +export(covid_hosp_facility_lookup) +export(covid_hosp_state_timeseries) +export(covidcast) +export(covidcast_epidata) +export(covidcast_meta) +export(covidcast_nowcast) +export(delphi) +export(dengue_nowcast) +export(ecdc_ili) +export(epirange) +export(fetch_classic) +export(fetch_csv) +export(fetch_df) +export(fetch_json) +export(fetch_tbl) +export(flusurv) +export(fluview) +export(fluview_clinical) +export(fluview_meta) +export(gft) +export(kcdc_ili) +export(meta) +export(nidss_dengue) +export(nidss_flu) +export(nowcast) +export(paho_dengue) +export(pvt_afhsb) +export(pvt_cdc) +export(pvt_dengue_sensors) +export(pvt_ght) +export(pvt_meta_afhsb) +export(pvt_meta_norostat) +export(pvt_norostat) +export(pvt_quidel) +export(pvt_sensors) +export(pvt_twitter) +export(request_url) +export(wiki) +export(with_base_url) +importFrom(MMWRweek,MMWRweek2Date) +importFrom(httr,RETRY) +importFrom(httr,content) +importFrom(httr,http_error) +importFrom(httr,modify_url) +importFrom(httr,stop_for_status) +importFrom(jsonlite,fromJSON) +importFrom(readr,read_csv) +importFrom(rlang,abort) diff --git a/man/covid_hosp_facility.Rd b/man/covid_hosp_facility.Rd new file mode 100644 index 00000000..eb91f775 --- /dev/null +++ b/man/covid_hosp_facility.Rd @@ -0,0 +1,21 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/endpoints.R +\name{covid_hosp_facility} +\alias{covid_hosp_facility} +\title{fetch COVID hospitalization data for specific facilities} +\usage{ +covid_hosp_facility(hospital_pks, collection_weeks, publication_dates = NULL) +} +\arguments{ +\item{hospital_pks}{hospitals to fetch} + +\item{collection_weeks}{weeks to fetch} + +\item{publication_dates}{publication dates to fetch} +} +\value{ +an instance of epidata_call +} +\description{ +fetch COVID hospitalization data for specific facilities +} diff --git a/man/covid_hosp_facility_lookup.Rd b/man/covid_hosp_facility_lookup.Rd new file mode 100644 index 00000000..e5ce133f --- /dev/null +++ b/man/covid_hosp_facility_lookup.Rd @@ -0,0 +1,31 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/endpoints.R +\name{covid_hosp_facility_lookup} +\alias{covid_hosp_facility_lookup} +\title{fetch COVID hospitalization facility identifiers} +\usage{ +covid_hosp_facility_lookup( + state = NULL, + ccn = NULL, + city = NULL, + zip = NULL, + fips_code = NULL +) +} +\arguments{ +\item{state}{optional state} + +\item{ccn}{optional ccn} + +\item{city}{optional city} + +\item{zip}{optional zip code} + +\item{fips_code}{optional fips code} +} +\value{ +an instance of epidata_call +} +\description{ +fetch COVID hospitalization facility identifiers +} diff --git a/man/covid_hosp_state_timeseries.Rd b/man/covid_hosp_state_timeseries.Rd new file mode 100644 index 00000000..c248ae48 --- /dev/null +++ b/man/covid_hosp_state_timeseries.Rd @@ -0,0 +1,21 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/endpoints.R +\name{covid_hosp_state_timeseries} +\alias{covid_hosp_state_timeseries} +\title{fetch COVID hospitalization data} +\usage{ +covid_hosp_state_timeseries(states, dates, issues = NULL) +} +\arguments{ +\item{states}{states to fetch} + +\item{dates}{dates to fetch} + +\item{issues}{issues to fetch} +} +\value{ +an instance of epidata_call +} +\description{ +fetch COVID hospitalization data +} diff --git a/man/covidcast.Rd b/man/covidcast.Rd new file mode 100644 index 00000000..be6261e7 --- /dev/null +++ b/man/covidcast.Rd @@ -0,0 +1,43 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/endpoints.R +\name{covidcast} +\alias{covidcast} +\title{fetch covidcast data} +\usage{ +covidcast( + data_source, + signals, + time_type, + geo_type, + time_values, + geo_values, + as_of = NULL, + issues = NULL, + lag = NULL +) +} +\arguments{ +\item{data_source}{data source to fetch} + +\item{signals}{data source to fetch} + +\item{time_type}{data source to fetch} + +\item{geo_type}{geo_type to fetch} + +\item{time_values}{data source to fetch} + +\item{geo_values}{data source to fetch} + +\item{as_of}{data source to fetch} + +\item{issues}{data source to fetch} + +\item{lag}{data source to fetch} +} +\value{ +an instance of epidata_call +} +\description{ +fetch covidcast data +} diff --git a/man/covidcast_epidata.Rd b/man/covidcast_epidata.Rd new file mode 100644 index 00000000..40e0ac94 --- /dev/null +++ b/man/covidcast_epidata.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/covidcast.R +\name{covidcast_epidata} +\alias{covidcast_epidata} +\title{creates the covidcast epidata helper} +\usage{ +covidcast_epidata(base_url = global_base_url) +} +\arguments{ +\item{base_url}{optional alternative base url} +} +\value{ +an instance of covidcast_epidata +} +\description{ +creates the covidcast epidata helper +} diff --git a/man/covidcast_meta.Rd b/man/covidcast_meta.Rd new file mode 100644 index 00000000..34333e13 --- /dev/null +++ b/man/covidcast_meta.Rd @@ -0,0 +1,14 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/endpoints.R +\name{covidcast_meta} +\alias{covidcast_meta} +\title{fetch covidcast meta data} +\usage{ +covidcast_meta() +} +\value{ +an instance of epidata_call +} +\description{ +fetch covidcast meta data +} diff --git a/man/covidcast_nowcast.Rd b/man/covidcast_nowcast.Rd new file mode 100644 index 00000000..20dffae0 --- /dev/null +++ b/man/covidcast_nowcast.Rd @@ -0,0 +1,46 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/endpoints.R +\name{covidcast_nowcast} +\alias{covidcast_nowcast} +\title{fetch covidcast_nowcast data} +\usage{ +covidcast_nowcast( + data_source, + signals, + sensor_names, + time_type, + geo_type, + time_values, + geo_values, + as_of = NULL, + issues = NULL, + lag = NULL +) +} +\arguments{ +\item{data_source}{data source to fetch} + +\item{signals}{data source to fetch} + +\item{sensor_names}{sensor names to fetch} + +\item{time_type}{data source to fetch} + +\item{geo_type}{geo_type to fetch} + +\item{time_values}{data source to fetch} + +\item{geo_values}{data source to fetch} + +\item{as_of}{data source to fetch} + +\item{issues}{data source to fetch} + +\item{lag}{data source to fetch} +} +\value{ +an instance of epidata_call +} +\description{ +fetch covidcast_nowcast data +} diff --git a/man/delphi.Rd b/man/delphi.Rd new file mode 100644 index 00000000..e59fb34c --- /dev/null +++ b/man/delphi.Rd @@ -0,0 +1,19 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/endpoints.R +\name{delphi} +\alias{delphi} +\title{fetch Delphi's forecast} +\usage{ +delphi(system, epiweek) +} +\arguments{ +\item{system}{system to fetch} + +\item{epiweek}{epiweek to fetch} +} +\value{ +an instance of epidata_call +} +\description{ +fetch Delphi's forecast +} diff --git a/man/delphi.epidata.Rd b/man/delphi.epidata.Rd new file mode 100644 index 00000000..943109ac --- /dev/null +++ b/man/delphi.epidata.Rd @@ -0,0 +1,9 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/delphi-epidata-package.R +\docType{package} +\name{delphi.epidata} +\alias{delphi.epidata} +\title{Delphi Epidata} +\description{ +TODO +} diff --git a/man/dengue_nowcast.Rd b/man/dengue_nowcast.Rd new file mode 100644 index 00000000..a86d94df --- /dev/null +++ b/man/dengue_nowcast.Rd @@ -0,0 +1,19 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/endpoints.R +\name{dengue_nowcast} +\alias{dengue_nowcast} +\title{fetch Delphi's PAHO Dengue nowcast} +\usage{ +dengue_nowcast(locations, epiweeks) +} +\arguments{ +\item{locations}{locations to fetch} + +\item{epiweeks}{epiweeks to fetch} +} +\value{ +an instance of epidata_call +} +\description{ +fetch Delphi's PAHO Dengue nowcast +} diff --git a/man/do_request.Rd b/man/do_request.Rd new file mode 100644 index 00000000..c87759d5 --- /dev/null +++ b/man/do_request.Rd @@ -0,0 +1,11 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/request.R +\name{do_request} +\alias{do_request} +\title{performs the request} +\usage{ +do_request(url, params) +} +\description{ +performs the request +} diff --git a/man/ecdc_ili.Rd b/man/ecdc_ili.Rd new file mode 100644 index 00000000..5492a7ef --- /dev/null +++ b/man/ecdc_ili.Rd @@ -0,0 +1,23 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/endpoints.R +\name{ecdc_ili} +\alias{ecdc_ili} +\title{fetch ECDC data} +\usage{ +ecdc_ili(regions, epiweeks, issues = NULL, lag = NULL) +} +\arguments{ +\item{regions}{regions to fetch} + +\item{epiweeks}{epiweeks to fetch} + +\item{issues}{optionally specify the exact issues to fetch} + +\item{lag}{optionally specify the issue lag} +} +\value{ +an instance of epidata_call +} +\description{ +fetch ECDC data +} diff --git a/man/epirange.Rd b/man/epirange.Rd new file mode 100644 index 00000000..618bc5be --- /dev/null +++ b/man/epirange.Rd @@ -0,0 +1,19 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/model.R +\name{epirange} +\alias{epirange} +\title{builds a new EpiRange instances} +\usage{ +epirange(from, to) +} +\arguments{ +\item{from}{start} + +\item{to}{end} +} +\value{ +EpiRange instance +} +\description{ +builds a new EpiRange instances +} diff --git a/man/fetch_classic.Rd b/man/fetch_classic.Rd new file mode 100644 index 00000000..46727177 --- /dev/null +++ b/man/fetch_classic.Rd @@ -0,0 +1,21 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/epidatacall.R +\name{fetch_classic} +\alias{fetch_classic} +\title{fetches the data and returns the classic format} +\usage{ +fetch_classic(epidata_call, fields = NULL, disable_date_parsing = FALSE) +} +\arguments{ +\item{epidata_call}{and instance of epidata_call} + +\item{fields}{filter fields} + +\item{disable_date_parsing}{disable automatic date parsing} +} +\value{ +parsed json message +} +\description{ +fetches the data and returns the classic format +} diff --git a/man/fetch_csv.Rd b/man/fetch_csv.Rd new file mode 100644 index 00000000..5893863a --- /dev/null +++ b/man/fetch_csv.Rd @@ -0,0 +1,19 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/epidatacall.R +\name{fetch_csv} +\alias{fetch_csv} +\title{fetches the data and returns the CSV text} +\usage{ +fetch_csv(epidata_call, fields = NULL) +} +\arguments{ +\item{epidata_call}{and instance of epidata_call} + +\item{fields}{filter fields} +} +\value{ +CSV text +} +\description{ +fetches the data and returns the CSV text +} diff --git a/man/fetch_df.Rd b/man/fetch_df.Rd new file mode 100644 index 00000000..bebdea81 --- /dev/null +++ b/man/fetch_df.Rd @@ -0,0 +1,21 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/epidatacall.R +\name{fetch_df} +\alias{fetch_df} +\title{fetches the data and returns data frame} +\usage{ +fetch_df(epidata_call, fields = NULL, disable_date_parsing = FALSE) +} +\arguments{ +\item{epidata_call}{and instance of epidata_call} + +\item{fields}{filter fields} + +\item{disable_date_parsing}{disable automatic date parsing} +} +\value{ +data.frame +} +\description{ +fetches the data and returns data frame +} diff --git a/man/fetch_json.Rd b/man/fetch_json.Rd new file mode 100644 index 00000000..8ad19c3b --- /dev/null +++ b/man/fetch_json.Rd @@ -0,0 +1,21 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/epidatacall.R +\name{fetch_json} +\alias{fetch_json} +\title{fetches the data and returns the josn format} +\usage{ +fetch_json(epidata_call, fields = NULL, disable_date_parsing = FALSE) +} +\arguments{ +\item{epidata_call}{and instance of epidata_call} + +\item{fields}{filter fields} + +\item{disable_date_parsing}{disable automatic date parsing} +} +\value{ +parsed json message +} +\description{ +fetches the data and returns the josn format +} diff --git a/man/fetch_tbl.Rd b/man/fetch_tbl.Rd new file mode 100644 index 00000000..f84e96d2 --- /dev/null +++ b/man/fetch_tbl.Rd @@ -0,0 +1,21 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/epidatacall.R +\name{fetch_tbl} +\alias{fetch_tbl} +\title{fetches the data and returns data frame} +\usage{ +fetch_tbl(epidata_call, fields = NULL, disable_date_parsing = FALSE) +} +\arguments{ +\item{epidata_call}{and instance of epidata_call} + +\item{fields}{filter fields} + +\item{disable_date_parsing}{disable automatic date parsing} +} +\value{ +tibble +} +\description{ +fetches the data and returns data frame +} diff --git a/man/flusurv.Rd b/man/flusurv.Rd new file mode 100644 index 00000000..8279f860 --- /dev/null +++ b/man/flusurv.Rd @@ -0,0 +1,23 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/endpoints.R +\name{flusurv} +\alias{flusurv} +\title{fetch FluSurv virological data} +\usage{ +flusurv(locations, epiweeks, issues = NULL, lag = NULL) +} +\arguments{ +\item{locations}{locations to fetch} + +\item{epiweeks}{epiweeks to fetch} + +\item{issues}{optionally specify the exact issues to fetch} + +\item{lag}{optionally specify the issue lag} +} +\value{ +an instance of epidata_call +} +\description{ +fetch FluSurv virological data +} diff --git a/man/fluview.Rd b/man/fluview.Rd new file mode 100644 index 00000000..f165d138 --- /dev/null +++ b/man/fluview.Rd @@ -0,0 +1,25 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/endpoints.R +\name{fluview} +\alias{fluview} +\title{fetch fluview data} +\usage{ +fluview(regions, epiweeks, issues = NULL, lag = NULL, auth = NULL) +} +\arguments{ +\item{regions}{regions to fetch} + +\item{epiweeks}{epiweeks to fetch} + +\item{issues}{optionally specify the exact issues to fetch} + +\item{lag}{optionally specify the issue lag} + +\item{auth}{optional authentication} +} +\value{ +an instance of epidata_call +} +\description{ +fetch fluview data +} diff --git a/man/fluview_clinical.Rd b/man/fluview_clinical.Rd new file mode 100644 index 00000000..e313508f --- /dev/null +++ b/man/fluview_clinical.Rd @@ -0,0 +1,23 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/endpoints.R +\name{fluview_clinical} +\alias{fluview_clinical} +\title{fetch FluView virological data} +\usage{ +fluview_clinical(regions, epiweeks, issues = NULL, lag = NULL) +} +\arguments{ +\item{regions}{regions to fetch} + +\item{epiweeks}{epiweeks to fetch} + +\item{issues}{optionally specify the exact issues to fetch} + +\item{lag}{optionally specify the issue lag} +} +\value{ +an instance of epidata_call +} +\description{ +fetch FluView virological data +} diff --git a/man/fluview_meta.Rd b/man/fluview_meta.Rd new file mode 100644 index 00000000..86fadef3 --- /dev/null +++ b/man/fluview_meta.Rd @@ -0,0 +1,14 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/endpoints.R +\name{fluview_meta} +\alias{fluview_meta} +\title{fetch fluview meta data} +\usage{ +fluview_meta() +} +\value{ +an instance of epidata_call +} +\description{ +fetch fluview meta data +} diff --git a/man/gft.Rd b/man/gft.Rd new file mode 100644 index 00000000..973fab28 --- /dev/null +++ b/man/gft.Rd @@ -0,0 +1,19 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/endpoints.R +\name{gft} +\alias{gft} +\title{fetch Google Flu Trends data} +\usage{ +gft(locations, epiweeks) +} +\arguments{ +\item{locations}{locations to fetch} + +\item{epiweeks}{epiweeks to fetch} +} +\value{ +an instance of epidata_call +} +\description{ +fetch Google Flu Trends data +} diff --git a/man/kcdc_ili.Rd b/man/kcdc_ili.Rd new file mode 100644 index 00000000..6cd245d1 --- /dev/null +++ b/man/kcdc_ili.Rd @@ -0,0 +1,23 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/endpoints.R +\name{kcdc_ili} +\alias{kcdc_ili} +\title{fetch KCDC data} +\usage{ +kcdc_ili(regions, epiweeks, issues = NULL, lag = NULL) +} +\arguments{ +\item{regions}{regions to fetch} + +\item{epiweeks}{epiweeks to fetch} + +\item{issues}{optionally specify the exact issues to fetch} + +\item{lag}{optionally specify the issue lag} +} +\value{ +an instance of epidata_call +} +\description{ +fetch KCDC data +} diff --git a/man/meta.Rd b/man/meta.Rd new file mode 100644 index 00000000..19f7d905 --- /dev/null +++ b/man/meta.Rd @@ -0,0 +1,14 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/endpoints.R +\name{meta} +\alias{meta} +\title{fetch api meta data} +\usage{ +meta() +} +\value{ +an instance of epidata_call +} +\description{ +fetch api meta data +} diff --git a/man/nidss_dengue.Rd b/man/nidss_dengue.Rd new file mode 100644 index 00000000..ff294ad9 --- /dev/null +++ b/man/nidss_dengue.Rd @@ -0,0 +1,19 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/endpoints.R +\name{nidss_dengue} +\alias{nidss_dengue} +\title{fetch NIDSS dengue data} +\usage{ +nidss_dengue(locations, epiweeks) +} +\arguments{ +\item{locations}{locations to fech} + +\item{epiweeks}{epiweeks to fetch} +} +\value{ +an instance of epidata_call +} +\description{ +fetch NIDSS dengue data +} diff --git a/man/nidss_flu.Rd b/man/nidss_flu.Rd new file mode 100644 index 00000000..282eb91f --- /dev/null +++ b/man/nidss_flu.Rd @@ -0,0 +1,23 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/endpoints.R +\name{nidss_flu} +\alias{nidss_flu} +\title{fetch NIDSS dengue data} +\usage{ +nidss_flu(regions, epiweeks, issues = NULL, lag = NULL) +} +\arguments{ +\item{regions}{regions to fetch} + +\item{epiweeks}{epiweeks to fetch} + +\item{issues}{optional issues} + +\item{lag}{optional lag} +} +\value{ +an instance of epidata_call +} +\description{ +fetch NIDSS dengue data +} diff --git a/man/nowcast.Rd b/man/nowcast.Rd new file mode 100644 index 00000000..0039bbac --- /dev/null +++ b/man/nowcast.Rd @@ -0,0 +1,19 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/endpoints.R +\name{nowcast} +\alias{nowcast} +\title{fetch Delphi's wILI nowcast} +\usage{ +nowcast(locations, epiweeks) +} +\arguments{ +\item{locations}{locations to fetch} + +\item{epiweeks}{epiweeks to fetch} +} +\value{ +an instance of epidata_call +} +\description{ +fetch Delphi's wILI nowcast +} diff --git a/man/paho_dengue.Rd b/man/paho_dengue.Rd new file mode 100644 index 00000000..d7b13d19 --- /dev/null +++ b/man/paho_dengue.Rd @@ -0,0 +1,23 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/endpoints.R +\name{paho_dengue} +\alias{paho_dengue} +\title{fetch Paho Dengue} +\usage{ +paho_dengue(regions, epiweeks, issues = NULL, lag = NULL) +} +\arguments{ +\item{regions}{regions to fetch} + +\item{epiweeks}{epiweeks to fetch} + +\item{issues}{issues to fetch} + +\item{lag}{lag to fetch} +} +\value{ +an instance of epidata_call +} +\description{ +fetch Paho Dengue +} diff --git a/man/parse_api_week.Rd b/man/parse_api_week.Rd new file mode 100644 index 00000000..362acd90 --- /dev/null +++ b/man/parse_api_week.Rd @@ -0,0 +1,14 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/parse.R +\name{parse_api_week} +\alias{parse_api_week} +\title{parses a week} +\usage{ +parse_api_week(value) +} +\value{ +a date +} +\description{ +parses a week +} diff --git a/man/parse_signal.Rd b/man/parse_signal.Rd new file mode 100644 index 00000000..5a874aae --- /dev/null +++ b/man/parse_signal.Rd @@ -0,0 +1,33 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/covidcast.R +\name{parse_signal} +\alias{parse_signal} +\title{fetch covidcast data} +\usage{ +parse_signal(signal, base_url) +} +\arguments{ +\item{data_source}{data source to fetch} + +\item{signals}{data source to fetch} + +\item{time_type}{data source to fetch} + +\item{time_values}{data source to fetch} + +\item{geo_type}{geo_type to fetch} + +\item{geo_values}{data source to fetch} + +\item{as_of}{data source to fetch} + +\item{issues}{data source to fetch} + +\item{lag}{data source to fetch} +} +\value{ +an instance of epidata_call +} +\description{ +fetch covidcast data +} diff --git a/man/pvt_afhsb.Rd b/man/pvt_afhsb.Rd new file mode 100644 index 00000000..e47cefca --- /dev/null +++ b/man/pvt_afhsb.Rd @@ -0,0 +1,23 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/endpoints.R +\name{pvt_afhsb} +\alias{pvt_afhsb} +\title{fetch AFHSB data (point data, no min/max)} +\usage{ +pvt_afhsb(auth, locations, epiweeks, flu_types) +} +\arguments{ +\item{auth}{authenfication token} + +\item{locations}{locations to fetch} + +\item{epiweeks}{epiweeks to fetch} + +\item{flu_types}{flu_types to fetch} +} +\value{ +an instance of epidata_call +} +\description{ +fetch AFHSB data (point data, no min/max) +} diff --git a/man/pvt_cdc.Rd b/man/pvt_cdc.Rd new file mode 100644 index 00000000..7448c5bf --- /dev/null +++ b/man/pvt_cdc.Rd @@ -0,0 +1,21 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/endpoints.R +\name{pvt_cdc} +\alias{pvt_cdc} +\title{fetch CDC page hits} +\usage{ +pvt_cdc(auth, epiweeks, locations) +} +\arguments{ +\item{auth}{authenfication token} + +\item{epiweeks}{epiweeks to fetch} + +\item{locations}{locations to fetch} +} +\value{ +an instance of epidata_call +} +\description{ +fetch CDC page hits +} diff --git a/man/pvt_dengue_sensors.Rd b/man/pvt_dengue_sensors.Rd new file mode 100644 index 00000000..56743a31 --- /dev/null +++ b/man/pvt_dengue_sensors.Rd @@ -0,0 +1,23 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/endpoints.R +\name{pvt_dengue_sensors} +\alias{pvt_dengue_sensors} +\title{fetch Delphi's digital surveillance sensors} +\usage{ +pvt_dengue_sensors(auth, names, locations, epiweeks) +} +\arguments{ +\item{auth}{authenfication token} + +\item{names}{names to fetch} + +\item{locations}{locations to fetch} + +\item{epiweeks}{epiweeks to fetch} +} +\value{ +an instance of epidata_call +} +\description{ +fetch Delphi's digital surveillance sensors +} diff --git a/man/pvt_ght.Rd b/man/pvt_ght.Rd new file mode 100644 index 00000000..c077a3e9 --- /dev/null +++ b/man/pvt_ght.Rd @@ -0,0 +1,23 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/endpoints.R +\name{pvt_ght} +\alias{pvt_ght} +\title{fetch Google Health Trends data} +\usage{ +pvt_ght(auth, locations, epiweeks, query) +} +\arguments{ +\item{auth}{autentification} + +\item{locations}{locations to fetch} + +\item{epiweeks}{epiweeks to fetch} + +\item{query}{query} +} +\value{ +an instance of epidata_call +} +\description{ +fetch Google Health Trends data +} diff --git a/man/pvt_meta_afhsb.Rd b/man/pvt_meta_afhsb.Rd new file mode 100644 index 00000000..680d676a --- /dev/null +++ b/man/pvt_meta_afhsb.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/endpoints.R +\name{pvt_meta_afhsb} +\alias{pvt_meta_afhsb} +\title{fetch AFHSB meta data} +\usage{ +pvt_meta_afhsb(auth) +} +\arguments{ +\item{auth}{authenfication token} +} +\value{ +an instance of epidata_call +} +\description{ +fetch AFHSB meta data +} diff --git a/man/pvt_meta_norostat.Rd b/man/pvt_meta_norostat.Rd new file mode 100644 index 00000000..dd328d17 --- /dev/null +++ b/man/pvt_meta_norostat.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/endpoints.R +\name{pvt_meta_norostat} +\alias{pvt_meta_norostat} +\title{fetch NoroSTAT meta data} +\usage{ +pvt_meta_norostat(auth) +} +\arguments{ +\item{auth}{authenfication token} +} +\value{ +an instance of epidata_call +} +\description{ +fetch NoroSTAT meta data +} diff --git a/man/pvt_norostat.Rd b/man/pvt_norostat.Rd new file mode 100644 index 00000000..5b17b689 --- /dev/null +++ b/man/pvt_norostat.Rd @@ -0,0 +1,21 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/endpoints.R +\name{pvt_norostat} +\alias{pvt_norostat} +\title{fetch NoroSTAT data (point data, no min/max)} +\usage{ +pvt_norostat(auth, location, epiweeks) +} +\arguments{ +\item{auth}{authenfication token} + +\item{location}{location to fetch} + +\item{epiweeks}{epiweeks to fetch} +} +\value{ +an instance of epidata_call +} +\description{ +fetch NoroSTAT data (point data, no min/max) +} diff --git a/man/pvt_quidel.Rd b/man/pvt_quidel.Rd new file mode 100644 index 00000000..e56fcfe9 --- /dev/null +++ b/man/pvt_quidel.Rd @@ -0,0 +1,21 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/endpoints.R +\name{pvt_quidel} +\alias{pvt_quidel} +\title{fetch Quidel data} +\usage{ +pvt_quidel(auth, epiweeks, locations) +} +\arguments{ +\item{auth}{authenfication token} + +\item{epiweeks}{epiweeks to fetch} + +\item{locations}{locations to fetch} +} +\value{ +an instance of epidata_call +} +\description{ +fetch Quidel data +} diff --git a/man/pvt_sensors.Rd b/man/pvt_sensors.Rd new file mode 100644 index 00000000..e9395197 --- /dev/null +++ b/man/pvt_sensors.Rd @@ -0,0 +1,23 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/endpoints.R +\name{pvt_sensors} +\alias{pvt_sensors} +\title{fetch Delphi's digital surveillance sensors} +\usage{ +pvt_sensors(auth, names, locations, epiweeks) +} +\arguments{ +\item{auth}{authenfication token} + +\item{names}{names to fetch} + +\item{locations}{locations to fetch} + +\item{epiweeks}{epiweeks to fetch} +} +\value{ +an instance of epidata_call +} +\description{ +fetch Delphi's digital surveillance sensors +} diff --git a/man/pvt_twitter.Rd b/man/pvt_twitter.Rd new file mode 100644 index 00000000..24cf71ee --- /dev/null +++ b/man/pvt_twitter.Rd @@ -0,0 +1,23 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/endpoints.R +\name{pvt_twitter} +\alias{pvt_twitter} +\title{fetch HealthTweets data} +\usage{ +pvt_twitter(auth, locations, dates = NULL, epiweeks = NULL) +} +\arguments{ +\item{auth}{autentification} + +\item{locations}{locations to fetch} + +\item{dates}{epiweeks to fetch} + +\item{epiweeks}{epiweeks to fetch} +} +\value{ +an instance of epidata_call +} +\description{ +fetch HealthTweets data +} diff --git a/man/request_url.Rd b/man/request_url.Rd new file mode 100644 index 00000000..e636e745 --- /dev/null +++ b/man/request_url.Rd @@ -0,0 +1,21 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/epidatacall.R +\name{request_url} +\alias{request_url} +\title{returns the full request url for the given epidata_call} +\usage{ +request_url(epidata_call, format_type = "classic", fields = NULL) +} +\arguments{ +\item{epidata_call}{and instance of epidata_call} + +\item{format_type}{format to return one of classic,json,csv} + +\item{fields}{filter fields} +} +\value{ +full url +} +\description{ +returns the full request url for the given epidata_call +} diff --git a/man/wiki.Rd b/man/wiki.Rd new file mode 100644 index 00000000..f8c00b18 --- /dev/null +++ b/man/wiki.Rd @@ -0,0 +1,25 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/endpoints.R +\name{wiki} +\alias{wiki} +\title{fetch Wikipedia access data} +\usage{ +wiki(articles, dates = NULL, epiweeks = NULL, hours = NULL, language = "en") +} +\arguments{ +\item{articles}{articles to fetch} + +\item{dates}{dates to fetch} + +\item{epiweeks}{epiweeks to fetch} + +\item{hours}{hours to fetch} + +\item{language}{language} +} +\value{ +an instance of epidata_call +} +\description{ +fetch Wikipedia access data +} diff --git a/man/with_base_url.Rd b/man/with_base_url.Rd new file mode 100644 index 00000000..252a6439 --- /dev/null +++ b/man/with_base_url.Rd @@ -0,0 +1,16 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/epidatacall.R +\name{with_base_url} +\alias{with_base_url} +\title{use a different base url} +\usage{ +with_base_url(epidata_call, base_url) +} +\arguments{ +\item{epidata_call}{and instance of epidata_call} + +\item{base_url}{basee url to use} +} +\description{ +use a different base url +}