Download Data from the CSO 'PxStat' API

Imports 'PxStat' data in JSON-stat format and (optionally) reshapes it into wide format. The Central Statistics Office (CSO) is the national statistical institute of Ireland and 'PxStat' is the CSOs online database of Official Statistics. This database contains current and historical data series compiled from CSO statistical releases and is accessed at < https://data.cso.ie>. The CSO 'PxStat' Application Programming Interface (API), which is accessed in this package, provides access to 'PxStat' data in JSON-stat format at < https://data.cso.ie>. This dissemination tool allows developers machine to machine access to CSO 'PxStat' data.


csodata

An R package for downloading CSO data.

The csodata package allows for easily downloading CSO (Central Statistics Office, the statistics agency of Ireland) PxStat data into R. It also includes multiple functions for examining the metadata of CSO tables, as well as a function to download geographic data in the ESRI vector format from the CSO website.

PxStat is the Central Statistics Office’s (CSO) online database of Official Statistics. This database contains current and historical data series compiled from CSO statistical releases and is accessed here . The CSO PxStat Application Programming Interface (API), which is accessed in this package, provides access to PxStat data in JSON-stat format. This dissemination tool allows developers machine to machine access to CSO PxStat data.

References

Graeme Walsh (2018). statbanker R package version 6.2.0. For inspiration and code used for reshaping tables.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("csodata")

1.5.1 by Conor Crowley, a year ago


https://github.com/CSOIreland/csodata


Browse source code at https://github.com/cran/csodata


Authors: Eoin Horgan [aut] , Conor Crowley [aut, cre] , Vytas Vaiciulis [aut] , Mervyn O'Luing [aut] , James O'Rourke [aut]


Documentation:   PDF Manual  


GPL-3 license


Imports dplyr, httr, jsonlite, reshape2, rjstat, R.cache, sf, lubridate, tidyr, lifecycle

Suggests knitr, rmarkdown, leaflet, viridisLite


See at CRAN