get_nlcd_data_point_buffer: get NLCD data for specified buffer radius around point data

View source: R/nlcd_polygon_functions.R

get_nlcd_data_point_bufferR Documentation

get NLCD data for specified buffer radius around point data

Description

get NLCD data for specified buffer radius around point data

Usage

get_nlcd_data_point_buffer(point_data, buffer_m)

Arguments

point_data

data.frame with columns 'lat' and 'lon'

buffer_m

desired buffer radius in meters

Value

a data.frame identical to the input data.frame but with appended percentage NLCD values (and in long format) all available products and years will be returned.

Examples

if (FALSE) {
point_data <- data.frame(
  id = c('1a', '2b', '3c'),
  lat = c(39.19674, 39.19674, 39.28765),
  lon = c(-84.582601, -84.582601, -84.510173)
)

get_nlcd_data_polygons(point_data, buffer_m = 400)
}

geomarker-io/addNlcdData documentation built on Feb. 19, 2023, 1:42 p.m.