Learn R Programming

nhdR (version 0.6.1)

find_state: find_state

Description

find_state

Usage

find_state(pnt, abb = FALSE)

Arguments

pnt

an sf point object

abb

logical return a state abbreviation?

Examples

Run this code
if (FALSE) {
pnt <- st_as_sf(data.frame(Lon = -107.2, Lat = 39.45),
  coords = c("Lon", "Lat"), crs = 4326)
}

Run the code above in your browser using DataLab