Description Usage Arguments Details Examples
Retrieves the most recent download of AHSQC data or the download from a specific date.
1 | ahs_get_data(date = NULL, dir = NULL)
|
date |
NULL or character string of a date in the format "YYYY-MM-DD" |
dir |
NULL or character string with file path to ahs-data folder. |
If date
= NULL, then the function will return the most recently downloaded dataset from the ahs-data folder.
If dir
= NULL, the function will assume that the command is being run in a working directory of the following type: ".../alfresco/Sites/[SITE NAME]/documentLibrary/code".
If date is a character string of a date, then the function retuns the data downloaded on that date, if it exists. If the date does not exist in the ahs-data folder, the function throws an error.
1 2 | # Not run:
# d0 <- ahs_get_data()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.