Package: pxweb 0.17.0

Mans Magnusson

pxweb: R Interface to PXWEB APIs

Generic interface for the PX-Web/PC-Axis API. The PX-Web/PC-Axis API is used by organizations such as Statistics Sweden and Statistics Finland to disseminate data. The R package can interact with all PX-Web/PC-Axis APIs to fetch information about the data hierarchy, extract metadata and extract and parse statistics to R data.frame format. PX-Web is a solution to disseminate PC-Axis data files in dynamic tables on the web. Since 2013 PX-Web contains an API to disseminate PC-Axis files.

Authors:Mans Magnusson [aut, cre], Markus Kainu [aut], Janne Huovari [aut], Leo Lahti [aut], Love Hansson [ctb], Eydun Nielsen [ctb], Bo Werth [ctb], Thomas Runarsson [ctb], Torbjörn Lindquist [ctb], Palmar Thorsteinsson [ctb], Pyry Kantanen [ctb], Sebastian Ankargren [ctb]

pxweb_0.17.0.tar.gz
pxweb_0.17.0.zip(r-4.5)pxweb_0.17.0.zip(r-4.4)pxweb_0.17.0.zip(r-4.3)
pxweb_0.17.0.tgz(r-4.5-any)pxweb_0.17.0.tgz(r-4.4-any)pxweb_0.17.0.tgz(r-4.3-any)
pxweb_0.17.0.tar.gz(r-4.5-noble)pxweb_0.17.0.tar.gz(r-4.4-noble)
pxweb_0.17.0.tgz(r-4.4-emscripten)pxweb_0.17.0.tgz(r-4.3-emscripten)
pxweb.pdf |pxweb.html
pxweb/json (API)
NEWS

# Install 'pxweb' in R:
install.packages('pxweb', repos = c('https://ropengov.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/ropengov/pxweb/issues

Pkgdown site:https://ropengov.github.io

On CRAN:

ropengov

7.60 score 66 stars 2 packages 1.2k downloads 29 exports 10 dependencies

Last updated 12 months agofrom:f7da0032da. Checks:8 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKJan 30 2025
R-4.5-winOKJan 30 2025
R-4.5-macOKJan 30 2025
R-4.5-linuxOKJan 30 2025
R-4.4-winOKJan 30 2025
R-4.4-macOKJan 30 2025
R-4.3-winOKJan 30 2025
R-4.3-macOKJan 30 2025

Exports:api_catalogueapi_parametersbase_urlcheckForLevelsget_pxweb_dataget_pxweb_dimsget_pxweb_levelsget_pxweb_metadatainteractive_pxwebis_pxweb_responseis.pxwebpxwebpxweb_advanced_getpxweb_apipxweb_api_cataloguepxweb_api_catalogue_pathpxweb_as_data_framepxweb_citepxweb_data_commentspxweb_getpxweb_get_datapxweb_interactivepxweb_parse_responsepxweb_querypxweb_query_as_jsonpxweb_query_as_rcodepxweb_test_apipxweb_validate_query_with_metadataupdate_pxweb_apis

Dependencies:askpassbackportscheckmatecurlhttrjsonlitemimeopensslR6sys

PX-WEB API Interface for R

Rendered frompxweb.Rmdusingknitr::rmarkdownon Jan 30 2025.

Last update: 2024-01-28
Started: 2014-08-22

Readme and manuals

Help Manual

Help pageTopics
Interface to PX-WEB APIs from Rpxweb-package
Defunct functionsapi_catalogue api_parameters base_url checkForLevels get_pxweb_data get_pxweb_dims get_pxweb_levels get_pxweb_metadata pxweb_api update_pxweb_apis
Assert that a given pxweb query can be splitassert_query_can_be_split_to_batches
Do a GET call to PXWEB API for advanced userspxweb_advanced_get
Cite a PXWEB data objectpxweb_cite
Do a GET call to PXWEB APIpxweb_get
Do a GET call to PXWEB API and return a data.framepxweb_get_data
Find and download data interactively from a PXWEB APIinteractive_pxweb pxweb_interactive
Parse the response from a PXWEB API (advanced)is_pxweb_response pxweb_parse_response
Convert a 'pxweb_query' object to a 'json' stringpxweb_query_as_json
Print a 'pxweb_query' object as R codepxweb_query_as_rcode
Test a full or a part of a PXWEB api.pxweb_test_api
Validate a 'pxweb_query' with a 'pxweb_metadata' objectpxweb_validate_query_with_metadata