pl_get_prototype {PL94171}R Documentation

Download TIGER Prototype shapefiles

Description

[Experimental] These prototype shapefiles correspond to the Rhode Island end-to-end Census test and the accompanying prototype P.L. 94-171 data. This function is unlikely to be useful for working with any actual decennial Census data. The corresponding tinytiger or tigris functions should be used instead.

Usage

pl_get_prototype(
  geog,
  year = 2020,
  full_state = TRUE,
  cache_to = NULL,
  clean_names = TRUE,
  refresh = FALSE
)

Arguments

geog

Geography to download data for. See details for full list.

year

year, either 2010 or 2020

full_state

whether to return the full state (TRUE) or the single county subset (FALSE)

cache_to

the file name, if any, to cache the results to (as an RDS). If a file exists and refresh=FALSE, will read from this file.

clean_names

whether to clean and rename columns

refresh

if TRUE, force a re-download of the data.

Details

Current acceptable arguments to geog include:

Value

An sf object containing the blocks.

Examples


shp <- pl_get_prototype("block")



[Package PL94171 version 1.1.2 Index]