Find and download data interactively from PX-WEB API

Share:

Description

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

Usage

1
2
interactive_pxweb(api = NULL, version = NULL, language = NULL,
  history = FALSE, ...)

Arguments

api

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

version

The version of the pxweb api to use. Default is pxweb api default, see api_catalogue.

language

The language of the pxweb api to use. Default is english.

history

keep the history when the function is running.

...

further parameters. These are currently ignored.

See Also

get_pxweb_metadata, get_pxweb_data

Examples

1
2
3
4
5
6
7
 api_catalogue() # List apis
## Not run: 
 d <- interactive_pxweb()
 d <- interactive_pxweb("api.scb.se")
 d <- interactive_pxweb("api.scb.se", language = "sv")

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.