Skip to content

Global Policy Lab GitHub

Note that while many Global Policy Lab (GPL) repositories are hosted under our organization account, there are also many repositories that are hosted under individual accounts. For this reason, code for specific projects is hyperlinked below. For questions, contact Luke Sherman via lsherm@stanford.edu.

We divide our code into two sections: (1) Code-based tools and packages for general and (2) Replication code for research projects. The former is designed to be continuously improved and updated, while the latter is not.

Code-based tools and packages

Code-based tools and packages are designed for general use in the research community. We encourage researchers using our code-based tools and packages to make contributions via pull request. For questions, contact Luke Sherman via lsherm@stanford.edu.

Replication code for research projects

Research project code must persist for replication purposes. It will not typically be updated following the publication of the corresponding research paper.

2024

2023

2022

  • Chi et al (2022). Micro-estimates of wealth for all low- and middle-income countries. PNAS. Code available. Website. Data availabe.
  • Krasovich et al (2022). Harmonized nitrogen and phosphorus concentrations in the Mississippi/Atchafalaya River Basin from 1980 to 2018. Scientific Data. Code available.
  • Aiken et al (2022). Machine learning and phone data can improve targeting of humanitarian aid. Nature. Code available.
  • Smythe and Blumentsock (2022). Geographic microtargeting of social assistance with high-resolution poverty maps PNAS. Code available.

2021

  • Ilin et al (2021). Public mobility data enables COVID-19 forecasting and management at local and global scales. Scientific Reports. Code and data available by request.
  • Rolf et al (2021). A generalizable and accessible approach to machine learning with global satellite imagery. Nature Communications. Code available. Website.
  • Huang et al (2021). Using Satellite Imagery and Deep Learning to Evaluate the Impact of Anti-Poverty Programs. NBER Working Paper. Code available.

2020

2019

2018

  • Druckenmiller and Hsiang (2018). Accounting for Unobservable Heterogeneity in Cross Section Using Spatial First Differences. NBER Working Paper. Code available.

Older projects will be listed soon

Popular repositories Loading

  1. mosaiks-paper mosaiks-paper Public

    Code and data to support our paper

    Jupyter Notebook 74 24

  2. cider cider Public

    Jupyter Notebook 19 9

  3. gpl-covid gpl-covid Public

    Repo for code and small datasets related to Global Policy Lab's COVID-19 policy analysis. Read and share the acompanying article here:

    Jupyter Notebook 16 13

  4. hdi_downscaling_mosaiks hdi_downscaling_mosaiks Public

    Jupyter Notebook 12 3

  5. gpl-covid-mobility gpl-covid-mobility Public

    Repo for code related to COVID-19 policy analysis carried out by UC Berkeley GPL / DIDL research labs

    Jupyter Notebook 1 1

  6. afghanistan-internal-displacement afghanistan-internal-displacement Public

    R 1

Repositories

Showing 10 of 11 repositories
  • Global-Policy-Lab/hdi_downscaling_mosaiks’s past year of commit activity
    Jupyter Notebook 12 3 0 0 Updated Oct 24, 2024
  • .github Public
    Global-Policy-Lab/.github’s past year of commit activity
    0 0 0 0 Updated Oct 24, 2024
  • Global-Policy-Lab/young_hsiang_tc_mortality’s past year of commit activity
    Stata 0 0 0 0 Updated Sep 16, 2024
  • cider Public
    Global-Policy-Lab/cider’s past year of commit activity
    Jupyter Notebook 19 BSD-2-Clause 9 0 2 Updated Jun 7, 2024
  • ahp-gdrive-upload Public

    Code for automated upload of files to Google Drive

    Global-Policy-Lab/ahp-gdrive-upload’s past year of commit activity
    Python 0 0 0 0 Updated Jun 3, 2024
  • Global-Policy-Lab/afghanistan-civil-conflict-and-labor-flows’s past year of commit activity
    R 0 Apache-2.0 0 0 0 Updated Mar 25, 2024
  • Global-Policy-Lab/cider-documentation’s past year of commit activity
    Jupyter Notebook 0 2 0 1 Updated May 26, 2023
  • mosaiks-paper Public

    Code and data to support our paper

    Global-Policy-Lab/mosaiks-paper’s past year of commit activity
    Jupyter Notebook 74 24 0 0 Updated Apr 5, 2022
  • Global-Policy-Lab/afghanistan-internal-displacement’s past year of commit activity
    R 1 0 0 0 Updated Feb 23, 2022
  • gpl-covid Public

    Repo for code and small datasets related to Global Policy Lab's COVID-19 policy analysis. Read and share the acompanying article here:

    Global-Policy-Lab/gpl-covid’s past year of commit activity
    Jupyter Notebook 16 13 0 0 Updated Jul 9, 2021

Most used topics

Loading…