ILO Open Data via Ilostat Bulk Download Facility or SDMX Web Service

Tools to download data from the ilostat database < http://www.ilo.org/ilostat> together with search and manipulation utilities.




The ILO's main online database, ILOSTAT, maintained by the Department of Statistics, is the world's largest repository of labour market statistics. It covers all countries and regions and a wide range of labour-related topics, including employment, unemployment, wages, working time and labour productivity, to name a few. It includes time series going back as far as 1938; annual, quarterly and monthly labour statistics; country-level, regional and global estimates; and even projections of the main labour market indicators.

ILOSTAT's website provides immediate access to all its data and related metadata through different ways. Basic users can simply view the desired data online or download it in Excel or csv formats. More advanced users can take advantage of ILOSTAT's well-structured bulk download facility (user guide), or the SDMX web service (user guide).

The ilostat R package ('Rilostat') was designed to give data users the ability to access the ILOSTAT database, search for data, rearrange the information as needed, download it in the desired format, and make various data visualizations, all in a programmatic and replicable manner, with the possibility of quickly re-running the queries as required.

Main features of the ilostat R package

  • Provides access to all annual, quarterly, and monthly data available via the ILOSTAT bulk download facility (user guide)
  • Allows to search for and download data and related metadata in English, French and Spanish
  • Gives the ability to return POSIXct dates for easy integration into plotting and time-series analysis techniques
  • Returns data in long format for direct integration with packages like ggplot2 and dplyr
  • Gives immediate access to the most recent updates
  • Allows for grep-style searching for data descriptions and names
  • Provides access to the ILOSTAT catalogue of related descriptive metadata (user guide)

Acknowledgements

The developer of this package drew extensive inspiration from the eurostat R package and its related documentation:

Installation

install.packages("Rilostat")

To install the development version, use the following command:

if(!require(devtools)){install.packages('devtools')}
install_github("ilostat/Rilostat")

The ilostat R package ('Rilostat') includes the following functions:

require(ilostat)
as.data.frame(ls("package:Rilostat"))
 

We do not expect to update the ilostat R package too often, but based on questions and remarks from ILOSTAT data users, we will progressively create more examples, tutorials, demos and apps. We will publicly share all of this via the function:

ilostat()
 
ilostat('GettingStarted')

Contribute

Contributions are very welcome:

Permission to reproduce ILO publication and data

The reproduction of ILO material is generally authorized for non-commercial purposes and within established limits. However, you may need to submit a formal request in certain circumstances. for more information please consult:

http://www.ilo.org/global/copyright

http://www.ilo.org/global/copyright/request-for-permission

News

Rilostat 0.2

  • fixed .onload warnings
  • reviewed import packages version
  • fixed sdmx codelist annotation multilang issues
  • revised import package list and version
  • fixed tuto mapper error

Rilostat 0.1

  • first release

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("Rilostat")

0.2.1 by David Bescond, 4 months ago


https://github.com/ilostat/Rilostat


Report a bug at https://github.com/ilostat/Rilostat/issues


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


Authors: ILO Department of Statistics [cph, fnd], David Bescond [aut, cre], Rosina Gammarano [ctr]


Documentation:   PDF Manual  


Task views: Official Statistics & Survey Methodology


BSD_2_clause + file LICENSE license


Imports plyr, dplyr, stringr, readr, tibble, haven, xml2, data.table, RCurl, DT

Suggests shiny, plotly, ggplot2, knitr, rmarkdown, roxygen2, rsdmx, plotrix, Cairo, testthat, tidyr, devtools, covr


See at CRAN