Learn R Programming

tigris (version 1.6)

new_england: Download a New England City and Town Area shapefile into R

Description

From the US Census Bureau (see link for source): "In New England (Connecticut, Maine, Massachusetts, New Hampshire, Rhode Island, and Vermont), the OMB has defined an alternative county subdivision (generally city and town) based definition of CBSAs known as New England city and town areas (NECTAs). NECTAs are defined using the same criteria as metropolitan and micropolitan statistical areas and are identified as either metropolitan or micropolitan, based, respectively, on the presence of either an urbanized area of 50,000 or more inhabitants or an urban cluster of at least 10,000 and less than 50,000 inhabitants." Combined NECTAs, or CNECTAs, are two or more NECTAs that have significant employment interchange, like Combined Statistical Areas; NECTA divisions are subdivisions of NECTAs.

Usage

new_england(type = "necta", cb = FALSE, year = NULL, ...)

Arguments

type

Specify whether to download the New England City and Town Areas file ('necta', the default), the combined NECTA file ('combined'), or the NECTA divisions file ('divisions').

cb

If cb is set to TRUE, download a generalized (1:500k) cartographic boundary file. Defaults to FALSE (the most detailed TIGER/Line file). Only available when type = 'necta'.

year

The data year (defaults to 2020).

...

arguments to be passed to the underlying `load_tiger` function, which is not exported. Options include class, which can be set to "sf" (the default) or "sp" to request sf or sp class objects, and refresh, which specifies whether or not to re-download shapefiles (defaults to FALSE).

See Also

https://www2.census.gov/geo/pdfs/maps-data/data/tiger/tgrshp2020/TGRSHP2020_TechDoc.pdf

Other metro area functions: combined_statistical_areas(), core_based_statistical_areas(), metro_divisions(), urban_areas()

Examples

Run this code
# NOT RUN {
library(tigris)

ne <- new_england(cb = TRUE)

plot(ne$geometry)

# }

Run the code above in your browser using DataLab