Package: pixieweb 0.1.1.9002

pixieweb: Access PX-Web Statistical Data from R

A pipe-friendly R client for PX-Web statistical APIs. Provides a search-then-fetch workflow for discovering and downloading data from national statistics agencies (SCB, SSB, Statistics Finland, etc.) using a consistent tibble-based interface.

Authors:Love Hansson [aut, cre, cph]

pixieweb_0.1.1.9002.tar.gz
pixieweb_0.1.1.9002.zip(r-4.7-any)pixieweb_0.1.1.9002.zip(r-4.6-any)pixieweb_0.1.1.9002.zip(r-4.5-any)
pixieweb_0.1.1.9002.tgz(r-4.6-any)pixieweb_0.1.1.9002.tgz(r-4.5-any)
pixieweb_0.1.1.9002.tar.gz(r-4.7-any)pixieweb_0.1.1.9002.tar.gz(r-4.6-any)
pixieweb_0.1.1.9002.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
pixieweb/json (API)

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

Bug tracker:https://github.com/lchansson/pixieweb/issues

Pkgdown/docs site:https://lchansson.github.io

On CRAN:

Conda:

4.78 score 2 scripts 323 downloads 40 exports 26 dependencies

Last updated from:99c46b1f23. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK132
source / vignettesOK186
linux-releaseOK130
macos-releaseOK121
macos-oldrelOK106
windows-develOK136
windows-releaseOK94
windows-oldrelOK91
wasm-releaseOK96

Exports:codelist_describecodelist_extract_idscodelist_valuescompose_data_querycompose_table_querydata_commentsdata_legenddata_minimizeexecute_queryfetch_single_enrichedget_codelistsget_dataget_saved_queryget_tablesget_variablespixieweb_cache_dirpixieweb_clear_cacheprepare_querypx_allpx_apipx_api_cataloguepx_availablepx_bottompx_citepx_frompx_rangepx_topx_topsave_querytable_describetable_enrichtable_extract_idstable_minimizetable_searchvariable_describevariable_extract_idsvariable_minimizevariable_name_to_codevariable_searchvariable_values

Dependencies:askpassclicpp11curldplyrgenericsgluehttr2jsonlitelifecyclemagrittropensslpillarpkgconfigpurrrR6rlangstringistringrsystibbletidyrtidyselectutf8vctrswithr

Introduction to pixieweb
PX-Web, a platform for national statistical databases | The data model | Connecting to an API | Discovering tables: get_tables() | Exploring variables: get_variables() | Downloading data: get_data() | Selection helpers | Metadata-driven queries: prepare_query() | Codelists | Wide output and multiple content codes | Visualising results | Advanced: query composition | Saved queries (v2 only) | Citation | Related packages

Last update: 2026-04-13
Started: 2026-03-23

Quick start guide to pixieweb
1. Connect to an API | 2. Find a table | 3. Explore variables | 4. Get data | 5. Inspect and visualise results | Next steps | Related packages

Last update: 2026-04-10
Started: 2026-03-20

Working with multiple APIs
Available APIs | Connecting to multiple agencies | API version differences | Cross-country comparison example | Combining results | Tips for cross-agency work | Next steps | Related packages

Last update: 2026-04-10
Started: 2026-03-20

Readme and manuals

Help Manual

Help pageTopics
Print human-readable codelist summariescodelist_describe
Extract codelist IDscodelist_extract_ids
Extract values for a specific codelistcodelist_values
Compose a data querycompose_data_query
Compose a table query URLcompose_table_query
Extract comments from datadata_comments
Generate a source caption for plotsdata_legend
Remove monotonous columns from a data tibbledata_minimize
Execute a composed queryexecute_query
Get codelists for a variable in a tableget_codelists
Fetch data from a PX-Web tableget_data
Execute a saved queryget_saved_query
Get tables from a PX-Web APIget_tables
Get variables (dimensions) for a tableget_variables
Get the persistent pixieweb cache directorypixieweb_cache_dir
Clear pixieweb cache filespixieweb_clear_cache
Prepare a data query with smart defaultsprepare_query print.px_query
Connect to a PX-Web APIformat.px_api print.px_api px_api
List known PX-Web API instancespx_api_catalogue
Check if a PX-Web API is reachablepx_available
Generate a citation for downloaded datapx_cite
Create a PX-Web selection objectprint.px_selection px_all px_bottom px_from px_range px_selections px_to px_top
Save a query on the serversave_query
Print human-readable table summariestable_describe
Enrich a table tibble with full metadatatable_enrich
Extract table IDs from a table tibbletable_extract_ids
Remove monotonous columns from a table tibbletable_minimize
Client-side search on a table tibbletable_search
Print human-readable variable summariesvariable_describe
Extract variable codes from a variable tibblevariable_extract_ids
Remove nested columns for a compact variable overviewvariable_minimize
Convert variable names to codesvariable_name_to_code
Client-side search on a variable tibblevariable_search
Extract values for a specific variablevariable_values