gio_geocode: Geocode a single address

Description Usage Arguments Value References Examples

View source: R/geocod-one.R

Description

You can also geocode intersections. Just specify the two streets that you want to geocode in your query.

Usage

1
gio_geocode(address, fields, api_key = gio_auth())

Arguments

address

address to 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
3
4
5
6
## Not run: 
gio_geocode("1109 N Highland St, Arlcdceington, VA")
gio_geocode("1109 N Highland St, Arlington, VA",
            fields=c("cd", "stateleg"))

## End(Not run)

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