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:
install.packages('pxweb')
Alternatively, you can get the latest stable development version:
library(devtools)
install_github('ropengov/pxweb')
In some cases, the organization requires manual proxy settings. This can be set as follows:
library(devtools)
library(httr)
set_config(
use_proxy(url="organizationProxyURL", port=1234)
)
install_github('ropengov/pxweb')
For examples, check the tutorial/vignette.
You are welcome to contact us:
- Submit suggestions and bug
reports (provide the
output of
sessionInfo()
andpackageVersion("pxweb")
) - 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: http://ropengov.github.io/pxweb
We are gratetful to all contributors! This project is part of rOpenGov.