Package: shellgame 0.1.0
shellgame: The Shell Game - Audit Geographic Data Transformations
Reveals how data quality silently degrades during geographic transformations while variable labels remain unchanged. Demonstrates that transformation error is agnostic to both the variable (population, income, etc.) and the tool (R, Python, etc.). Provides a reproducible audit framework for quantifying the shift from observed to imputed data at each transformation hop.
Authors:
shellgame_0.1.0.tar.gz
shellgame_0.1.0.zip(r-4.7-any)shellgame_0.1.0.zip(r-4.6-any)shellgame_0.1.0.zip(r-4.5-any)
shellgame_0.1.0.tgz(r-4.6-any)shellgame_0.1.0.tgz(r-4.5-any)
shellgame_0.1.0.tar.gz(r-4.7-any)shellgame_0.1.0.tar.gz(r-4.6-any)
shellgame_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
shellgame/json (API)
| # Install 'shellgame' in R: |
| install.packages('shellgame', repos = c('https://phinnphace.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/phinnphace/shellgame/issues
acsauditcensuscrosswadatageographic-datamethodology-frameworkpopulationquality
Last updated from:d5efa3fe0e. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 141 | ||
| source / vignettes | OK | 236 | ||
| linux-release | OK | 140 | ||
| macos-release | OK | 207 | ||
| macos-oldrel | OK | 175 | ||
| windows-devel | OK | 93 | ||
| windows-release | OK | 80 | ||
| windows-oldrel | OK | 93 | ||
| wasm-release | OK | 126 |
Exports:audit_transformationcheck_census_keycreate_audit_reportextract_perturbed_populationget_zcta_baselinepad_geoidplot_baseline_zctasplot_geometric_vs_relationshipplot_transformation_perturbationprep_hud_crosswalkprep_zip_zctarun_full_transformationtransform_zcta_to_ziptransform_zip_to_county
Dependencies:askpassbitbit64classclassIntclicliprcpp11crayoncurlDBIdplyre1071farvergenericsggplot2gluegtablehmshttrisobandjanitorjsonliteKernSmoothlabelinglifecyclelubridatemagrittrmimeopensslpillarpkgconfigprettyunitsprogressproxypurrrR6rappdirsRColorBrewerRcppreadrrlangrvests2S7scalesselectrsfsnakecasestringistringrsystibbletidycensustidyrtidyselecttigristimechangetzdbunitsutf8uuidvctrsviridisLitevroomwithrwkxml2
Last update: 2026-09-25
Started: 2026-02-11
Last update: 2026-05-17
Started: 2026-05-01
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Audit geographic transformation | audit_transformation |
| Check for Census API key | check_census_key |
| Create complete audit report | create_audit_report |
| Extract perturbation by receiving county | extract_perturbed_population |
| Get ACS baseline data for ZCTAs | get_zcta_baseline |
| Pad GEOID to 5 digits | pad_geoid |
| Plot baseline ZCTAs | plot_baseline_zctas |
| Plot geometric vs relationship membership | plot_geometric_vs_relationship |
| Plot transformation perturbation | plot_transformation_perturbation |
| Prepare HUD ZIP-County crosswalk data | prep_hud_crosswalk |
| Prepare ZIP-ZCTA crosswalk data | prep_zip_zcta |
| Print method for shellgame_audit | print.shellgame_audit |
| Run full transformation pipeline | run_full_transformation |
| Summary method for shellgame_audit | summary.shellgame_audit |
| Transform ZCTA data to ZIP level | transform_zcta_to_zip |
| Transform ZIP data to County level | transform_zip_to_county |
