pxweb_interactive {pxweb} | R Documentation |
Find and download data interactively from a PXWEB API
Description
Wrapper function (for pxweb_get) to simply find and download data to the current R session.
Usage
pxweb_interactive(x = NULL)
interactive_pxweb(x = NULL)
Arguments
x |
The name or alias of the pxweb api to connect to, a |
Value
The function returns a list with three slots:
url
: The URL to the data
query
: The query to access the data
data
: The downloaded data (if chosen to download data)
See Also
Examples
pxweb_api_catalogue() # List apis
## The examples below can only be run in interactive mode
## x <- pxweb_interactive()
## x <- pxweb_interactive(x = "api.scb.se")
## x <- pxweb_interactive(x = "https://api.scb.se/OV0104/v1/doris/en/ssd/BE/BE0101/")
## x <- pxweb_interactive(x = "https://api.scb.se/OV0104/v1/doris/en/ssd/BE/BE0101/BE0101A/")
[Package pxweb version 0.17.0 Index]