get_latlon: Get latitude and longitude for a given lake

Description Usage Arguments Details Value Examples

Description

Get the center lat/lon of a lake with given ID

Usage

1

Arguments

id

The character ID for the requested data

Details

Based on the exported locations data.frame. Mostly based on NHD polygon centroid lat/lons.

Value

Lat/lon on the WGS84 datum as two-element vector in order lat, long. If not ID match found, return NA values.

Examples

1
get_latlon('nhd_1097324')

USGS-R/lakeattributes documentation built on May 9, 2019, 8:13 p.m.