gio_reverse: Reverse geocode a single lat/lon pair

Description Usage Arguments Value References Examples

View source: R/geocod-reverse.R

Description

Reverse geocode a single lat/lon pair

Usage

1
gio_reverse(lat, lon, fields, api_key = gio_auth())

Arguments

lat, lon

lat/lon pair to reverse geocode

fields

vector of additional fields to return with query results. Note that these count as extra lookups and impact your dailu quota/costs. See the official documentation for more information on costs/pricing. Can be cd, cd113, cd114, or cd115 for current or historical Congressional districts (U.S.); stateleg for State Legislative District (House & Senate, U.S.); school forSchool District (elementary/secondary or unified, U.S.); census for Census Block/Tract & FIPS codes (U.S.) or timezone for timezone.

api_key

geocod.io API key

Value

tibble

References

Official Geocodio API documentation

Examples

1
2
gio_reverse(38.9002898, -76.9990361)
gio_reverse(38.9002898, -76.9990361, fields=c("census", "stateleg"))

hrbrmstr/rgeocodio documentation built on May 17, 2020, 3:37 a.m.