Giter Club home page Giter Club logo

pacific-observatory's Introduction

Pacific Observatory

The Pacific Observatory is the World Bank analytical program to explore and develop new information sources to mitigate the impact of data gaps in official statistics for Papua New Guinea (PNG) and the Pacific Island Countries (PICs).

This repository hosts the team's efforts to investigate how alternative data sources can be used to generate economic and sector statistics through cost-effective methods. The goal is to assess whether new data sources can produce indicators that are timely, have higher frequency and granularity.

The content is structured by topic of investigation, each thematic folder contains code, notebooks, outputs, and feasibility notes.

Logo

Research Topics

๐Ÿ”– Night Time Lights Applications

This note explores socio-economic applications with Night Time Lights data.
Are lights at night a good proxy for economic activity or extractives?
Can lights be used to aid poverty mapping, estimate access to electrification, or estimate damages/recovery from natural disasters?

๐Ÿ”– Market Prices Imputation

A machine learning imputation method to fill gaps in food prices from markets in Papua New Guinea.

This follows the estimation proposed by

Andree, Bo Pieter Johannes. 2021. Estimating Food Price Inflation from Partial Surveys. Policy Research Working Paper;No. 9886. World Bank, Washington, DC. ยฉ World Bank. License: CC BY 3.0 IGO.

URI

The machine learning imputation code is available here

The code relies on WFP price surveys that are not available for PNG. The code has been adapted to run on IFPRI surveys available here

This requires a few additional pre-processing steps to add coordinates and turn the IFPRI data into the required format. See pacific-observatory/data/prices/

After preparing the raw data, the following section in the main.R file of the price imputation code should be changed to read the data:

Original code

  if("Papua New Guinea" %in% selected_country_list){
    cat("adding PNG from file")
    PNG <- read.csv("PNG_dec_prices_wc.csv") ##### <---------- Original PNG price data file name. 
    PNG$time_id <- NA 
      PNG=dropcol(PNG, setdiff(colnames(PNG), colnames(rawMarketPrices)))
      rawMarketPrices = rbind(rawMarketPrices, PNG[PNG$year>=data_startyear,])
      rawMarketPrices$time_id <- generate_T(rawMarketPrices$year, rawMarketPrices$month)
  }

New code

  if("Papua New Guinea" %in% selected_country_list){
    cat("adding PNG from file")
    PNG <- read.csv("PNG_july2022_prices_wc.csv") ##### <---------- Point the code to the new file name. 
    PNG$time_id <- NA 
      PNG=dropcol(PNG, setdiff(colnames(PNG), colnames(rawMarketPrices)))
      rawMarketPrices = rbind(rawMarketPrices, PNG[PNG$year>=data_startyear,])
      rawMarketPrices$time_id <- generate_T(rawMarketPrices$year, rawMarketPrices$month)
  }

Also make sure that Papua New Guinea is included in the country list:

selected_country_list = c("Afghanistan", "Papua New Guinea") 

To produce results for different time periods, change

data_startyear = 2009

๐Ÿ”– Aviation Statistics

Monitor tourism recovery through aviation statistics.

๐Ÿ”– Climate and Agriculture Monitoring

Monitor crop productivity and seasonality through vegetation indices.
Develop a sub-national database of climate indicators.
Update crop masks with limited training data and satellite imagery.

Future work

๐Ÿ”– Automatic Identification System (AIS)

This section assess the feasibility of using AIS data to derive high-frequency and geospatially disaggregated indicators on trade and fishing intensity.

๐Ÿ”– Text Mining

Study social dynamics (conflict risk, cohesion, perceptions of the economy, climate change) through mining from text sources (ACLED, GDELT).

Additional Resources

  • DIME Analytics Data Handbook

    This book is intended to serve as an introduction to the primary tasks required in development research, from experimental design to data collection to data analysis to publication. It serves as a companion to the DIME Wiki and is produced by DIME Analytics.

  • GitHub Pages

    GitHub Pages are public webpages hosted and easily published through GitHub.

  • Jupyter Book

    Jupyter Book is an open source project for building beautiful, publication-quality books and documents from computational material.

License

Materials under this repository are open-source under an MIT license. The community is invited to test, adapt, and re-purpose materials as needed.

pacific-observatory's People

Contributors

ccxzhang avatar bpjandree avatar andresfchamorro avatar bennyistanto avatar bpstewar avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.