README.md

pcodesOCHA

The goal of pcodesOCHA is to scrap pcodes and geoJSON from UNOCHA Common Operational Datasets web server

While the package can be used as a standalone, the scraped files are available in output folder.

A Cron job runs once a month at 12:00 am to update the outputs thanks to github actions.

Functions available

Datasets available

the easiest way to use the data is probably by importing directly the data from the raw data in the folder output: - CSV : https://raw.githubusercontent.com/ElliottMess/pcodesOCHA/master/output/all_pcodes_20210112.csv - JSON : https://raw.githubusercontent.com/ElliottMess/pcodesOCHA/master/output/all_pcodes_20210112.json

For instance to read it with readr: pcodes \<- readr::read_csv(“https://raw.githubusercontent.com/ElliottMess/pcodesOCHA/master/output/all_pcodes_20210112.csv”)



ElliottMess/pcodesOCHA documentation built on May 13, 2021, 10:25 p.m.