Skip to content

Gary Sieling

Principal Engineer

  • Machine Learning
  • Full Text Search
  • Data Science
  • Scraping
  • Postgres
  • DevOps
  • AWS
  • Talks

Tag: census

Posted on January 1, 2024January 1, 2024

Get US Census population by block group (GEOID) in R

 View(get_acs(
     geography = "block group",
     variables = "C02003_001",
     state = "PA",
     year = 2020
 ))

This shows population by block group for the entire state:

To get a list of variables available for this, see the previous post.

Posts navigation

Previous page Page 1 Page 2 Page 3 Next page
  • Thought Experiments
  • Proof of Concepts
  • Book Reviews
  • Projects
  • Essays
  • Talks
  • Programming Techniques
  • Javascript
  • Python
  • Prolog
  • Scala
  • Java
  • PHP
  • C#
  • R

Recent Posts

  • Allow a CircleCI self-hosted machine runner to run jobs for more than 5 hrs
  • Import a folder of CSVs into a single Google Sheet (1 per tab)
  • R Code to summarize Dept of Ed, Civil Rights Data by school district / LEA
  • Export Census ACS5 data by GEOID/block group to CSV in R
  • Get US Census population by block group (GEOID) in R
  • Get a list of census fields available at the GEOID (block group) level in R
  • PA Senate Committees 2023 CSV Download
Proudly powered by WordPress