bcdc_browse {bcdata} | R Documentation |
Load the B.C. Data Catalogue URL into an HTML browser
Description
This is a wrapper around utils::browseURL with the URL for the B.C. Data Catalogue as the default
Usage
bcdc_browse(
query = NULL,
browser = getOption("browser"),
encodeIfNeeded = FALSE
)
Arguments
query |
Default (NULL) opens a browser to |
browser |
a non-empty character string giving the name of the program to be used as the HTML browser. It should be in the PATH, or a full path specified. Alternatively, an R function to be called to invoke the browser. Under Windows |
encodeIfNeeded |
Should the URL be encoded by
|
Value
A browser is opened with the B.C. Data Catalogue URL loaded if the session is interactive. The URL used is returned as a character string.
See Also
Examples
## Take me to the B.C. Data Catalogue home page
try(
bcdc_browse()
)
## Take me to the B.C. airports catalogue record
try(
bcdc_browse("bc-airports")
)
## Take me to the B.C. airports catalogue record
try(
bcdc_browse("76b1b7a3-2112-4444-857a-afccf7b20da8")
)