get_data_long: Read in and filter demographic and census tract boundaries...

View source: R/filter.R

get_data_longR Documentation

Read in and filter demographic and census tract boundaries data from the U.S. census

Description

Read in and filter demographic and census tract boundaries data from the U.S. census

Usage

get_data_long()

get_data_wide()

filter_data_long(data, state, county)

filter_data_wide(data, state, county)

Arguments

data

A dataframe returned by get_data_long for filter_data_long or get_data_wide for filter_data_wide

state

A character string specifying the name of the desired state

county

A character string specifying the name of the desired county

Examples

## Not run: 
filter_data_long(get_data_long(), "New York", "Madison")
filter_data_long(get_data_long(), "Massachusetts", "Hampshire")

## End(Not run)
## Not run: 
filter_data_wide(get_data_wide(), "New York", "Madison")
filter_data_wide(get_data_wide(), "Massachusetts", "Hampshire")

## End(Not run)

rporta23/censusviz documentation built on March 4, 2024, 10:01 p.m.