README.md

rOG-badge R build
status codecov Downloads Downloads CRAN_Status_Badge Gitter Watch on
GitHub Star on
GitHub Follow

R tools to access PX-WEB API - the pxweb R package

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.

Installation

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(remotes)
remotes::install_github('ropengov/pxweb')

In some cases, the organization requires manual proxy settings. This can be set as follows:

library(remotes)
library(httr)
set_config(
  use_proxy("64.251.21.73", 8080) # Note! This is an example
)
remotes::install_github('ropengov/pxweb')

Using the package

For examples, check the tutorial/vignette.

Problems?

See TROUBLESHOOTING.md or open an issue.

Contributing

You are welcome to contact us:

Acknowledgements

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/

We are grateful to all contributors! This project is part of rOpenGov.



rOpenGov/pxweb documentation built on Feb. 18, 2024, 7:44 a.m.