Skip to content

csodata

Download Data from the CSO 'PxStat' API

v1.5.1 · Aug 21, 2025 · GPL-3

Description

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.

Downloads

1.1K

Last 30 days

3538th

2.9K

Last 90 days

10.4K

Last year

Trend: +15.4% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 28, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 24, 2026
ERROR r-release-windows-x86_64

examples

Running examples in 'csodata-Ex.R' failed
The error most likely occurred in:

> ### Name: cso_get_meta
> ### Title: Returns a data frame with the metadata of a CSO data table
> ### Aliases: cso_get_meta
> 
> ### ** Examples
> 
> meta1 <- cso_get_meta
...[truncated]...
lease check internet connection and that data .cso.ie is online
Error in UseMethod("status_code") : 
  no applicable method for 'status_code' applied to an object of class "NULL"
Calls: cso_get_meta -> cso_download_tbl -> <Anonymous>
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies dplyr httr jsonlite reshape2 rjstat R.cache sf lubridate tidyr lifecycle csodata

Version History

new 1.5.1 Mar 10, 2026
updated 1.5.1 ← 1.5.0 diff Aug 20, 2025
updated 1.5.0 ← 1.4.2 diff May 29, 2024
updated 1.4.2 ← 1.4.1 diff Aug 10, 2023
updated 1.4.1 ← 1.4.0 diff Feb 20, 2023
updated 1.4.0 ← 1.3.0 diff Dec 13, 2022
updated 1.3.0 ← 1.2.3 diff Oct 20, 2022
updated 1.2.3 ← 1.2.2 diff Jun 9, 2022
updated 1.2.2 ← 1.2.1 diff Dec 9, 2021
updated 1.2.1 ← 1.2.0 diff Oct 10, 2021
updated 1.2.0 ← 1.1.1 diff Jun 6, 2021
updated 1.1.1 ← 1.0.2 diff Dec 16, 2020
updated 1.0.2 ← 1.0.1.1 diff Aug 13, 2020
updated 1.0.1.1 ← 1.0.0.1 diff Mar 11, 2020
updated 1.0.0.1 ← 0.1.5.0 diff Mar 8, 2020
new 0.1.5.0 Dec 17, 2019