Description Usage Details Examples
This function creates the grapes
dataset by downloading the data from a website by the NOAA National Climatic Data Center and returning it as a uts_vector
object. It is not meant to be called directly, but provided for reproducability.
1 |
The raw data is available in Excel and raw text, but the latter has several formatting errors. Therefore, the data is imported from the Excel file using the XLConnect package.
1 2 3 4 5 6 7 8 | if (requireNamespace("XLConnect", quietly=TRUE)) {
grapes <- download_grapes()
## Not run:
save(grapes, file=file.path("data", "grapes.rda"), compress="xz")
## End(Not run)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.