View source: R/utility_functions.R
prism_check | R Documentation |
Helper function to check if files already exist in the prism download
directory. Determines if files have not been downloaded yet, i.e.,
returns TRUE
if they do not exist.
prism_check(prismfiles, lgl = FALSE, pre81_months = NULL)
prismfiles |
a list of full prism file names ending in ".zip". |
lgl |
|
pre81_months |
Numeric vector of months that will be downloaded, if downloading data before 1981. This is so that the existence of the data can be correctly checked, as the file includes all monthly data for a given year. |
a character vector of file names that are not yet downloaded or a logical vector indication those not yet downloaded.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.