geocode_address_candidates: Geocode an address and retrieve all candidates using the...

Description Usage Arguments Value Examples

View source: R/geocode_njogis.R

Description

Geocode an address and retrieve all candidates using the NJOGIS ArcGIS REST API

Usage

1
2
3
4
5
6
7
8
9
geocode_address_candidates(
  address = NULL,
  address2 = NULL,
  address3 = NULL,
  city = NULL,
  zip = NULL,
  max_results = NULL,
  crs = 4326
)

Arguments

address

First line of address. Don't use the other address arguments if geocoding a single line address

address2

Second line of address

address3

Third line of address

city

Name of city or municipality

zip

5-digit ZIP code of city

max_results

Max number of address candidates to return

crs

Four digit coordinate reference system code. Defaults to 4326, 3424 and 4269 are also supported

Value

an sf object with geocoded address candidates for a single address

Examples

1
geocode_address_candidates(address = "33 Livingston Ave", city = "New Brunswick")

njgeo documentation built on Jan. 15, 2022, 9:06 a.m.