Learn R Programming

opendatatoronto (version 0.1.5)

browse_package: Open the package's page in your browser

Description

Opens a browser to the package's page on the City of Toronto Open Data Portal.

Usage

browse_package(package)

Value

A browser is opened to the package's page on the City of Toronto Open Data Portal website if the session is interactive. The URL is returned as a character string.

Arguments

package

A way to identify the package. Either a package ID (passed as a character vector directly), a single package resulting from list_packages or search_packages, or the package's URL from the portal.

Examples

Run this code
# \donttest{
ttc_subway_delays <- search_packages("ttc subway delay")
browse_package(ttc_subway_delays)
browse_package("https://open.toronto.ca/dataset/business-improvement-areas/")
# }

Run the code above in your browser using DataLab