PAHO dengue digital surveillance sensors (North and South America)
Source:R/endpoints.R
pvt_dengue_sensors.RdUsage
pvt_dengue_sensors(
auth,
names,
locations,
epiweeks = "*",
fetch_args = fetch_args_list()
)Arguments
- auth
string. Your restricted access key (not the same as API key).
- names
character. Sensor names to fetch.
- locations
character. List of locations to fetch.
- epiweeks
timeset. Epiweeks to fetch. Supportsepirange()and defaults to all ("*") dates. Format asepirange(startweek, endweek), where startweek and endweek are of the form YYYYWW (string or numeric).- fetch_args
fetch_args. Additional arguments to pass tofetch(). Seefetch_args_list()for details.
Examples
if (FALSE) { # curl::has_internet() && Sys.getenv("SECRET_API_AUTH_SENSORS") != ""
pvt_dengue_sensors(
auth = Sys.getenv("SECRET_API_AUTH_SENSORS"),
names = "ght",
locations = "ag",
epiweeks = epirange(201501, 202001)
)
}