Skip to contents

Return row matching pattern

Usage

dido_search(data, pattern)

Arguments

data

Tibble of datasets or datafiles as returned by datasets() and datafiles()

pattern

string used to filter the dataset and idbank list

Value

the datafiles or datasets table filtered with the pattern

Examples

dido_search(datasets(), "drom")
#> # A tibble: 1 × 21
#>   id              title description topic tags  license frequency frequency_date
#>   <chr>           <chr> <chr>       <chr> <chr> <chr>   <chr>     <chr>         
#> 1 61024489e43667… Donn… Données lo… Éner… cons… fr-lo   annual    2022-10-01    
#> # ℹ 13 more variables: created_at <chr>, last_modified <chr>, weburl <chr>,
#> #   views <int>, caution <chr>, organization_id <chr>,
#> #   organization_title <chr>, organization_description <chr>,
#> #   organization_acronym <chr>, temporal_coverage_start <chr>,
#> #   temporal_coverage_end <chr>, spatial_zones <chr>, spatial_granularity <chr>