Learn R Programming

pxweb (version 0.4)

base_url: Return base URL to API

Description

...

Usage

base_url(api, version = "v1", lang = "en", ...)

Arguments

api
API provider ('api.scb.se' or 'pxwebapi2.stat.fi')
version
The version of PXWEB API to use. (Default: v1)
lang
The language (two letters) to use in the fetched data. (Default: en)
...
Additional parameters. These are currently ignored.

Examples

Run this code
a <- base_url("api.scb.se", "v1", "sv")
print(a)

Run the code above in your browser using DataLab