Description Usage Arguments Examples
View source: R/downloadNightLights.R
Download night lights data from NOAA for specific years.
1 2 | downloadNightLights(years, extract = TRUE, directory = NULL,
download.method = NULL, ...)
|
years |
The years of data to download, e.g. |
extract |
(Logical) Should the downloaded files be extracted from the
tarballs? Default is |
directory |
The directory to save the files to. If omitted, it saves to the current directory. If the directory does not yet exist, it will be created. |
download.method |
Method to use in the |
1 | downloadNightLights(years = c(1992, 2002, 2012), directory = "night-lights")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.