gio_geocode_components: Geocode a single address

Description Usage Arguments 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
2
gio_geocode_components(street, city, state, postal_code, country, fields,
  api_key = gio_auth())

Arguments

street, city, state, postal_code, country

address components

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

Examples

1
2
3
gio_geocode_components("1109 N Highland St", "Arlington", "VA")
gio_geocode_components("1109 N Highland St", "Arlington", "VA",
                       fields=c("census", "stateleg"))

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