| PxWebApiData on CRAN | pkgdown website | GitHub Repository |
|---|
PX-Web data by API: The R package PxWebApiData supports both PxWebApi v1 and PxWebApi v2.
The example code reads data from three national statistical institutes: Statistics Norway, Statistics Sweden, and Statistics Finland.
PxWebApi v1
PxWebApi v1 is supported through the long-established ApiData() interface.
π Function reference:
π Vignette:
PxWebApi v2
PxWebApi v2 is supported through a set of new functions.
π Function references:
- get_api_data() β retrieve data from a pre-made URL
- query_url() β generate a data URL from specifications
- api_data() β specify and retrieve data in one step (closely related to ApiData() for PxWebApi v1)
- meta_frames() β metadata structured as data frames
- meta_data() β metadata downloaded without further processing
- meta_code_list() β metadata for code lists
π Vignette:
Official version on CRAN: https://cran.r-project.org/package=PxWebApiData
