download_and_save_shapefile: Download and Save Shapefile

Description Usage Arguments Value

View source: R/mapping.R

Description

If the RDS file is not found for the required geography, this function downloads the required file from the Census website and creates the necessary file.

Usage

1

Arguments

basename

Character scalar giving the base name of the geographic file to read.

Value

A 'SpatialPolygonsDataFrame' (from the 'sp' package) that includes the contents of the TIGER line file converted to a format usable in R.


kbrevoort/cbsa documentation built on June 12, 2020, 8:44 a.m.