Learn R Programming

opendatatoronto (version 0.1.6)

list_package_resources: List resources for a package

Description

List resources for a package on the portal.

Usage

list_package_resources(package)

Value

A tibble of resources along with metadata, including name, id, format (the format of the resource file), and last_modified (the date the resource was last modified).

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{
list_package_resources("1db34737-ffad-489d-a590-9171d500d453")
list_package_resources("https://open.toronto.ca/dataset/ttc-subway-delay-data")
# }

Run the code above in your browser using DataLab