get_area: Get lake surface area

Description Usage Arguments Details Value Examples

Description

Returns the surface area for a lake with given ID

Usage

1

Arguments

id

The character ID for the requested data

Details

Looks for given id and returns values if availalbe. id is coerced to character regardless of input type.

Value

Lake surface areas in meters^2. NA if no value available

Examples

1
2
3
4
5
#Multiple values
get_area('nhd_1097324')

#this should return NA
get_area('asdf')

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