pxweb (version 0.9.1)

pxweb_interactive: Find and download data interactively from a PXWEB API

Description

Wrapper function (for get_pxweb_data and get_pxweb_metadata) to simply find and download data to the current R session.

Usage

pxweb_interactive(x = NULL)

Arguments

x

The name or alias of the pxweb api to connect to, a pxweb object or an url. Use api_catalogue to get a list of apis.

See Also

get_pxweb_metadata, get_pxweb_data

Examples

Run this code
# NOT RUN {
pxweb_api_catalogue() # List apis
# }
# NOT RUN {
 x <- pxweb_interactive()
 x <- pxweb_interactive(x = "api.scb.se")
 x <- pxweb_interactive(x = "http://api.scb.se/OV0104/v1/doris/en/ssd/BE/BE0101/")
 x <- pxweb_interactive(x = "http://api.scb.se/OV0104/v1/doris/en/ssd/BE/BE0101/BE0101A/")
# }

Run the code above in your browser using DataCamp Workspace