View source: R/nlcd_data_functions.R
get_nlcd_data | R Documentation |
get NLCD data for NLCD cells
get_nlcd_data(raw_data, product = c("nlcd", "impervious", "imperviousdescriptor"), year = c(2001, 2006, 2011, 2016))
raw_data |
data.frame with column 'nlcd_cell' |
product |
a character string of desired nlcd variables; a subset of c("nlcd", "impervious", "imperviousdescriptor") |
year |
a numeric vector of desired nlcd years; a subset of c(2001, 2006, 2011, 2016) |
a data.frame identical to the input data.frame but with appended NLCD values (and in long format)
if (FALSE) { d <- data.frame( id = c('1a', '2b', '3c'), nlcd_cell = c(7814606790, 7814606790, 7756256174) ) get_nlcd_data(d, product = c("nlcd", "impervious"), year = c(2011, 2016)) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.