R/municipality_grp.R
municipality_grp_search.Rd
Search a Kolada Municipality Group metadata table. Only keep rows that
contain the search query. Searches group titles and group IDs. Note that this
function does not search for individual municipalities contained within
municipality groups! To search for KPIs within a KPI group, see examples
below for an example using municipality_grp_unnest
.
municipality_grp_search(munic_grp_df, query)
A Kolada Municipality Group metadata table, as created by
e.g. get_municipality_groups
.
A search term or a vector of search terms to filter by. Case insensitive.
A Kolada Municipality Group metadata table