Search portal packages by title.
search_packages(title, limit = 50)
title | Title to search (case-insensitive). |
---|---|
limit | Maximum number of packages to return. The default is 50. The maximum limit is 1000. |
A tibble of matching packages along with package 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).
# \donttest{ search_packages("ttc")#> # A tibble: 14 x 11 #> title id topics civic_issues publisher excerpt dataset_category #> <chr> <chr> <chr> <chr> <chr> <chr> <chr> #> 1 TTC … 7795… Trans… Mobility Toronto … "Data … Document #> 2 TTC … 996c… Trans… Mobility Toronto … "TTC S… Document #> 3 TTC … b68c… Trans… Mobility Toronto … "TTC S… Document #> 4 TTC … e271… Trans… Mobility Toronto … "TTC B… Document #> 5 TTC … ef35… Trans… Mobility Toronto … "This … Document #> 6 TTC … aedd… Trans… Mobility Toronto … "This … Website #> 7 TTC … 1444… Trans… Mobility Toronto … "This … Website #> 8 TTC … 4b80… Trans… Mobility Toronto … "This … Website #> 9 TTC … d2a7… Trans… Mobility Toronto … "This … Website #> 10 TTC … d9dc… Trans… Mobility Toronto … "This … Document #> 11 TTC … 2c4c… Finan… Mobility,Fi… Toronto … "This … Website #> 12 TTC … 4eb6… Trans… Mobility Toronto … "This … Document #> 13 TTC … c01c… NA Mobility Toronto … "This … Document #> 14 TTC … 8217… Trans… Mobility Toronto … "The N… Document #> # … with 4 more variables: num_resources <int>, formats <chr>, #> # refresh_rate <chr>, last_refreshed <date># }