{"id":6802,"date":"2024-01-01T15:48:48","date_gmt":"2024-01-01T15:48:48","guid":{"rendered":"https:\/\/www.garysieling.com\/blog\/?p=6802"},"modified":"2024-01-01T15:48:49","modified_gmt":"2024-01-01T15:48:49","slug":"get-us-census-population-by-block-group-geoid-in-r","status":"publish","type":"post","link":"https:\/\/www.garysieling.com\/blog\/get-us-census-population-by-block-group-geoid-in-r\/","title":{"rendered":"Get US Census population by block group (GEOID) in R"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code> View(get_acs(\r\n     geography = \"block group\",\r\n     variables = \"C02003_001\",\r\n     state = \"PA\",\r\n     year = 2020\r\n ))<\/code><\/pre>\n\n\n\n<p>This shows population by block group for the entire state:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"696\" height=\"516\" src=\"https:\/\/www.garysieling.com\/blog\/wp-content\/uploads\/2024\/01\/image.png\" alt=\"\" class=\"wp-image-6803\" style=\"width:674px;height:auto\" srcset=\"https:\/\/www.garysieling.com\/blog\/wp-content\/uploads\/2024\/01\/image.png 696w, https:\/\/www.garysieling.com\/blog\/wp-content\/uploads\/2024\/01\/image-300x222.png 300w\" sizes=\"(max-width: 696px) 100vw, 696px\" \/><\/figure>\n\n\n\n<p>To get a list of variables available for this, see the previous post.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This shows population by block group for the entire state: To get a list of variables available for this, see the previous post.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[6],"tags":[659,450],"aioseo_notices":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/6802"}],"collection":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/comments?post=6802"}],"version-history":[{"count":1,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/6802\/revisions"}],"predecessor-version":[{"id":6804,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/6802\/revisions\/6804"}],"wp:attachment":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/media?parent=6802"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/categories?post=6802"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/tags?post=6802"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}