Code
Every program the exercises run. Complete, tested and meant to be read.
Requirements. Python with
pandas, numpy, scipy and
matplotlib. Nothing else. No geographic information system, no
shapefile reader, no projection library, no account, no key.Programs that download data write a frozen snapshot and print a checksum on the first run, and every later step reads that snapshot. Programs marked author side exist for whoever maintains the collection, and students never need them.
- americanize.pyauthor side, spelling maintenance
- asi_toolkit.pythe Aggregation Sensitivity Index pipeline
- audit_package.pyauthor side, checks cross-references
- build_geometry.pyauthor side, converts boundaries to GeoJSON
- classification_demo.py
- common.pyshared loading, provenance and handoff
- cooling_centers_analysis.pythe defective analysis audited in Exercise II-B
- cvd_audit.pyauthor side, measures color separation under color vision deficiency
- deck_titles.pyauthor side, writes a slide title on every slide
- docx_a11y.pyauthor side, audits the Word files for screen readers
- exercise_0a.py
- exercise_0b.py
- exercise_0c.py
- exercise_1a.py
- exercise_1b.py
- exercise_2b.pythe audit program for Exercise II-B
- exercise_3a.py
- exercise_3b.pythe reliability screen for Exercise III-B
- exercise_4a.py
- exercise_4b.py
- exercise_5a.py
- exercise_5b.py
- harness_template.pythe reproducibility harness for VI-A
- kriging.pyvariogram, ordinary and regression kriging
- make_complete_package.py
- make_figures.pyauthor side, draws the teaching figures
- make_package_zip.py
- mapping.pychoropleths from GeoJSON, matplotlib only
- pptx_a11y.pyauthor side, audits the decks for screen readers
- pull_azmet.pyrefreshes the station snapshot, optional
- pull_moe.pyauthor side, adds margins of error
- run_all.pyauthor side, reruns everything and compares
- site_a11y.pyauthor side, audits the site against WCAG 2.1 AA
- spatial_stats.pyweights matrices, Moran's I, Getis-Ord, FDR
- swap_imscc_labs.pyauthor side, replaces the Canvas cartridge's documents
- typo_audit.pyauthor side, checks the workbook against its own conventions