List packages available on the portal.
Value
A tibble of available packages and metadata, 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{
list_packages(5)
#> # A tibble: 5 × 11
#> title id topics civic_issues publisher excerpt dataset_category
#> <chr> <chr> <chr> <chr> <chr> <chr> <chr>
#> 1 Toronto Island F… toro… "Tran… NA Parks, F… "This … Table
#> 2 Licensed Dogs an… lice… "Comm… NA Municipa… "The r… Table
#> 3 Multi-Tenant (Ro… mult… "Perm… NA Municipa… "This … Table
#> 4 Polls conducted … 7bce… "City… NA City Cle… "Polls… Table
#> 5 Rain Gauge Locat… f293… "c(\"… NA Toronto … "This … Document
#> # ℹ 4 more variables: num_resources <int>, formats <chr>, refresh_rate <chr>,
#> # last_refreshed <date>
# }