download_shapefile: Download shape file with tigris, convert it to data.tables...

Description Usage Arguments Value

View source: R/download_shapefiles.R

Description

Download shape file with tigris, convert it to data.tables and save them as csv files.

Usage

1
download_shapefile(state = NULL, geography, year = 2016, ...)

Arguments

state

abbreviation of a state, such as "MA".

geography

geography of which shape files to download, such as "county" and "block group".

year

year of the shape files updated

...

... parameters in tigris fucntions such as counties() and block_groups()

Value

a data.table, and saved csv files


GL-Li/ggtiger documentation built on Aug. 4, 2020, 6:32 p.m.