Skip to content

ReasonFoundation/acfrs_datachecking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Aug 17, 2023
abd681c · Aug 17, 2023

History

52 Commits
Aug 17, 2023
Aug 17, 2023
Jan 28, 2022
Jan 16, 2022
Feb 17, 2022
Aug 17, 2023
Aug 17, 2023
Sep 23, 2022
Aug 17, 2023
Aug 20, 2022
Aug 20, 2022
Jan 16, 2022
Aug 17, 2023
Sep 23, 2022
Sep 23, 2022
Aug 17, 2023
Aug 17, 2023
Aug 20, 2022
Aug 20, 2022
May 13, 2022
Aug 17, 2023
Aug 17, 2023
Aug 17, 2023
May 13, 2022
Jan 16, 2022
Feb 14, 2022
Jan 28, 2022
Aug 17, 2023
Feb 14, 2022

Repository files navigation

US Municipal Financial Reports data integrity checking. Comparing with Census and National Center for Education Statistics NCES.

Matching Census Population with Municipal Financial Reports data (ACFRs) at County Level

Results

Three csv files:

  • The matched dataset: county_pop_census_acfrs_TOTAL.csv
  • counties in Census with more than 100k population that are not yet matched with ACFRs: census_pop_NOT_match_acfrs_100k.csv
  • counties in Census, regardless of population size, that are not yet matched with ACFRs: census_pop_NOT_match_acfrs_all.csv

How to just run this analysis on your machine (without cloning the whole repo)

Note: The best way to run this project on your machine is to clone the whole repo. But if you don't want to do so for some reasons, here is how to just get a slice:

  • get the script named acfrs_census_matching_county_population.Rmd

  • get the data object data_from_dbsite.RDS This ACFRs data was queried from ACFRs PostgresQL database. The dataset was saved to R object data_from_dbsite.RDS. For security reason, the query commands are not included here.

  • get the Census Population named DECENNIALPL2020.P1_data_with_overlays_2021-12-16T123049.csv. This data is located in data folder in the repo.

Alternatively, this dataset can be downloaded from Census website https://data.census.gov/cedsci/table?q=&y=2020&d=DEC%20Redistricting%20Data%20%28PL%2094-171%29&tid=DECENNIALPL2020.P1

  • If you just want to push a button and not changing any directory to the data file: on your machine, create a R project -> create a folder called "data" -> Put the Census population data to that folder.
  • That's it!

Matching Data from National Center for Education Statistics with Municipal Financial Reports data (ACFRs) at School District Level

Results:

CSV files:

  • matched_acfrs_nces_sd.csv

About

US Municipal Financial Reports data integrity checking. Regular expression, stringr, dplyr

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published