Returns a tibble containing the titles, publication date, observation periods, metadata url and download urls of available BFS datasets in a given language which match the given criteria.

bfs_search(string, data = bfs_get_metadata(), ignore.case = TRUE)

Arguments

string

A regular expression string to search for.

data

The data frame to search. This can be either a data frame previously fetched using bfs_get_metadata (recommended) or left blank, in which case a temporary data frame is fetched. The second option adds a few seconds to each search query.

ignore.case

Whether the search should be case-insensitive.

Value

A data frame.

See also

Examples

if (FALSE) df_en <- bfs_get_metadata(language = "en") if (FALSE) bfs_search("education", df_en)