Description Usage Arguments Value Examples
Initiates the country admin level nightlight dataframe with the country admin level data read from the polygon. This includes admin levels, level names and area
1 2 3 4 5 6 7 | createCtryNlDataDF(
ctryCode = NULL,
admLevel,
gadmVersion = pkgOptions("gadmVersion"),
gadmPolyType = pkgOptions("gadmPolyType"),
custPolyPath = NULL
)
|
ctryCode |
the ISO3 code of the country |
admLevel |
The country admin level of interest |
gadmVersion |
The GADM version to use |
gadmPolyType |
The format of polygons to download from GADM |
custPolyPath |
Alternative to GADM. A path to a custom shapefile zip |
dataframe with the country admin level data
1 2 3 4 5 | ## Not run:
initCtryNlData <- Rnightlights:::createCtryNlDataDF("KEN")
#returns a data frame
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.