Skip to content
jwalsh28 edited this page Oct 10, 2024 · 26 revisions

Welcome to the mobility-from-poverty wiki!

This wiki provides resources and instructions for metric leads and technical reviewers on the mobility from poverty data project. See the menu to the right to navigate to different topics.

Tracker of all metric updates

For an overview of our planned updates for this upcoming round (version2025), see our tracker that is predictor/metric-specific HERE. This file tracks upcoming data releases, subgroup/methodological updates, metric lead assignments, and prioritizes tasks we want for each metric.

Mobility Metric Update Checklist

Setup

  • Metric lead has cloned the Version2025 repository into a folder accessible to them (we recommend the C: drive)
  • Metric lead has read through their assigned issue and has a firm understanding of what the expectation is for this update
  • Metric lead has checked out a new branch from the Version2025 repo that is named after the relevant issue, i.e. iss###
  • Metric lead has filled out the final data expectations from located in the functions folder of the repo and saved this form in the metrics data folder for all relevant final output files
  • Metric lead has read through the existing version of the program and has located and overviewed the existing output files

Program Documentation

  • The update program includes a description at the start with the date, the latest changes made and the author of the metric lead that made them
  • If the program reads in raw data that is not available through an API, then the code includes a note on where this data is in Box (including the title of relevant files)
  • Each step taken in the calculation is clearly documented in the code using comments
  • The program is broken out into manageable steps and the code avoids using extensively long lines connected via pipes or pipe equivalents if not using R

Quality Control

  • The program includes visuals of the distribution of key analysis variables throughout the calculation steps
  • The program includes visualizations of the final data as well as summary statistic and a selection of assumptions tests (including count of rows by year, missing values, etc.)
  • The program includes the creation of a quality variable for the metric and documents the method for assigning quality grades

Reproducibility

  • The program runs from start to finish without stopping due to errors or incompleteness
  • The program avoids hardcoding local file paths and instead uses global paths that will work regardless of where the program is being ran (i.e. here::here() for R users)
  • The program includes a “House Keeping” section which loads all necessary packages at the top of the program

Final Data

  • The program reads out a final file in the form of a CSV document or multiple CSVs into a data folder in the relevant metric folder
  • Final files include the relevant years in title if the metric has multiple files separated by year
  • All final files being read out by the update program are put through the evaluate final data function

Review

  • When ready for review the metric lead has submitted a PR to Version2025 using the PR template