narrativeprofile: Get County or Tract Narrative Profile webpage from Census

View source: R/narrativeprofile.R

narrativeprofileR Documentation

Get County or Tract Narrative Profile webpage from Census

Description

For 1 tract, URL could be for example (https://www.census.gov/acs/www/data/data-tables-and-tools/narrative-profiles/ 2019/report.php?geotype=tract&tract=700311&state=24&county=031) For 1 county, URL could be for example (https://www.census.gov/acs/www/data/data-tables-and-tools/narrative-profiles/ 2019/report.php?geotype=county&state=21&county=017)

Usage

narrativeprofile(
  yearnumber = 2020,
  geotype = "county",
  statenumber2 = "24",
  countynumber3 = "031",
  tractnumber6 = NULL,
  launch = FALSE
)

Arguments

yearnumber

for what year of the 1-year American Community Survey data

geotype

county or tract

statenumber2

two digit state FIPS (leading zero added if necessary)

countynumber3

three digit county FIPS (leading zero added if necessary)

tractnumber6

six digit tract FIPS

launch

If set to TRUE, will launch a web browser and open the narrative profile page using the url

Value

URL that is link to Census Bureau webpage with narrative profile of multiple statistics


ejanalysis/ejanalysis documentation built on April 2, 2024, 10:12 a.m.