Skip to content

CT-Data-Haven/2024acs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2024 ACS update & community profiles

  • ACS year: 2024
  • DCWS year(s): 2015-2024

Distribution-ready files are in to_distro. CSV file for populating website’s community profiles is in website. Starting December 2025, the DCWS data is from the multi-year MRP estimates rather than single years from crosstabs.

Output

                                            levelName
1  .                                                 
2   ¦--fetch_data                                    
3   ¦   ¦--acs_basic_2024_fetch_all.rds              
4   ¦   ¦--mrp_estimates_2015_2024_town_profiles.csv 
5   ¦   °--mrp_moe_tbl.csv                           
6   ¦--output_data                                   
7   ¦   ¦--acs_nhoods_by_city_2024.rds               
8   ¦   ¦--acs_town_basic_profile_2024.csv           
9   ¦   ¦--acs_town_basic_profile_2024.rds           
10  ¦   °--cws_basic_indicators_2015_2024.rds        
11  ¦--to_distro                                     
12  ¦   ¦--bridgeport_acs_basic_neighborhood_2024.csv
13  ¦   ¦--hartford_acs_basic_neighborhood_2024.csv  
14  ¦   ¦--new_haven_acs_basic_neighborhood_2024.csv 
15  ¦   ¦--stamford_acs_basic_neighborhood_2024.csv  
16  ¦   °--town_acs_basic_distro_2024.csv            
17  °--website                                       
18      °--5year2024town_profile_expanded_CWS.csv    

Development

Several global functions and other objects are loaded when each script sources utils/pkgs_utils.R, including all loaded libraries. There are two global variables for years: yr and cws_yr, for the ACS endyear and the CWS year, respectively. Those are both set within a config file, and can be taken as positional arguments by pkgs_utils.R.

To build the full project in the proper order, on the command line run:

snakemake all

or rebuild just one piece of it, e.g. snakemake prep_distro.

Calling snakemake testvars will verify what years are being used by sourcing just utils/pkgs_utils.R.

Additionally, this repo has a release of data in order to have a single source of the year’s ACS data for other projects. To create and upload the release, run:

snakemake release

snakefile

About

2024 ACS data for community profiles

Resources

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors