Show a portal package's metadata.

show_package(package)

Arguments

package

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

Value

A tibble including title, id, topics, civic_issues, excerpt, publisher, dataset_category, num_resources (the number of resources in the package), formats (the different formats of the resources), refresh_rate (how often the package is refreshed), and last_refreshed (the date it was last refreshed).

Examples

# \donttest{ show_package("c01c6d71-de1f-493d-91ba-364ce64884ac")
#> # A tibble: 1 x 11 #> title id topics civic_issues publisher excerpt dataset_category #> <chr> <chr> <chr> <chr> <chr> <chr> <chr> #> 1 TTC … c01c… NA NA NA NA NA #> # … with 4 more variables: num_resources <int>, formats <chr>, #> # refresh_rate <chr>, last_refreshed <date>
# }