Skip to content

Scrapes the IMF's DSA list pdf and outputs as .csv

Notifications You must be signed in to change notification settings

t-emery/imf_dsa_list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IMF Debt Distress List

Teal Emery

Introduction

The IMF publishes the risk of debt distress for PRGT Eligible Countries that use the LIC DSA.

While this data is public, it’s published online in a pdf, which makes it burdensome for researchers & policymakers to use & update. I’m scraping the data using R, and publishing it on GitHub as a .csv file for all to use. I need this for my own research, but I’m hoping it will be useful to others.

Example of the IMF LIC DSA List

Features

Annotated Script: want to run this or modify this script yourself? The script is annotated, so it should be straightforward.

Standardized Country Naming: I’ve standardized the names using the countrycode R Package, and added iso3c codes to make it easy to connect this data to other sovereign-level data.

File Naming Convention: The script extracts the as of date listed at the top of the pdf, and appends it to the end of the file name so that it is clear when the data is from.

Eventually I’d like to automate this to run periodically using GitHub Actions. If you want to help with this, ping me.

About

Scrapes the IMF's DSA list pdf and outputs as .csv

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages