The pxweb R package provides tools to interface with the PX-WEB API for data search, download, manipulation and visualization purposes. This is used by a large number of statistical authorities world-wide. It offers methods to utilize information about the data hierarchy stored behind the PXWEB API.
Many API services are still in their early stages, and data quality is sometimes compromised. Issue reports are welcome.
The easiest way to use pxweb is to simply install it from CRAN:
Alternatively, you can get the latest stable development version:
In some cases, the organization requires manual proxy settings. This can be set as follows:
library(remotes) library(httr) set_config( use_proxy("18.104.22.168", 8080) # Note! This is an example )::install_github('ropengov/pxweb')remotes
For examples, check the tutorial/vignette.
You are welcome to contact us:
Submit suggestions and bug reports (provide the output of
- Send a pull request
- Star us on the Github page
- Join the discussion in Gitter
Kindly cite this work as follows: Måns Magnusson, Markus Kainu, Janne Huovari, and Leo Lahti. Retrieval and analysis of PC Axis data with the pxweb package. R package version . URL: https://ropengov.github.io/pxweb/