getFiat: Get State of County Spatial Boundary

View source: R/getFiat.R

getFiatR Documentation

Get State of County Spatial Boundary

Description

Get State of County Spatial Boundary

Usage

getFiat(country = NULL, state = NULL, county = NULL, fip = NULL)

Arguments

country

character. Full name, ISO 3166-1 2 or 3 digit code. Not case senstive

state

character. Full name or two character abbreviation. Not case sensitive

county

character. Provide county name(s). Requires 'state' input.

bb

logical. If TRUE then the bounding geometry of state/county is returned, default is FALSE and returns fiat geometries

Details

getFiat returns a SpatialPolygons object for a defiend state and/or county. Boundaries come from the 2017 US Census TIGER Dataset and are projected to EPSG:4269.

Value

a SpatialPolygons object projected to EPSG:4269.

Examples

## Not run: 
# Get Single State
getFiat(state = "CA")

# Get Multi-state
getFiat(state = c("CA", "Utah", "Nevada"))

# Get County
getFiat(state = "CA", county = "San Luis Obispo")

# Get Muli-county
getFiat(state = "CA", county = c("San Luis Obispo", "Santa Barbara", "Ventura"))

## End(Not run)

mikejohnson51/AOI documentation built on Nov. 22, 2023, 6:05 p.m.