R Packages

My R packages are mostly a collection of data querying and processing tools that I use frequently and hence have packaged to make my life (and hopefully that of others) in the future easier.

comtradr logo

comtradr

comtradr is the interface to the United Nations Comtrade API . Comtrade provides country level shipping data for a variety of commodities, these functions allow for easy API query and data returned as a tidy data frame. You need a (free) API key from the UN. Maintained in the rOpenSci Universe.

comRex logo

comRex

comRex provides a wrapper for the Eurostat SDMX API, focusing on the Comext trade database. It allows for easy querying of EU trade data from 2002 onwards by various classification levels (HS2, HS4, HS6, CN8).

milRex logo

milRex

milRex allows users to query military expenditure data from the Stockholm International Peace Research Institute (SIPRI). It simplifies accessing up-to-date global military spending data and formatting it for analysis.

Rat.las logo

Rat.las

Ratlas makes it easy to query the data of the Atlas of Economic Complexity. You need an API key for the Harvard Dataverse.

Council Monitor Screenshot

EU Council Monitor

The EU Council Monitor is not a package, but a dashboard I wrote, which I usually use as a template, because it is modularized and lends itself to easy extension for simple visualizations.

conflictoR logo

conflictoR

conflictoR provides access to all UCDP conflict datasets that are available on their website through the API. Implementing all filter options, automatically querying across paginated datasets.