ahs_get_data: Get AHSQC data

Description Usage Arguments Details Examples

View source: R/ahs_get_data.R

Description

Retrieves the most recent download of AHSQC data or the download from a specific date.

Usage

1

Arguments

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.

Details

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.

Examples

1
2
# Not run:
# d0 <- ahs_get_data()

thomasgstewart/ahsqc documentation built on Jan. 24, 2021, 11:19 a.m.