R/search.R
A function to search for datasets on given topics. In the case of multiple
search parameters, returns metadata on all datasets matching one or more of
the parameters. The wildcard character *
can be added to the beginning
and/or end of each search string.
nomis_search(name = NULL, description = NULL, keywords = NULL, content_type = NULL, units = NULL)
name | A string or character vector of strings to search for in
available dataset names. Defaults to |
---|---|
description | A string or character vector of strings to search for in
available dataset descriptions. Note that |
keywords | A string or character vector of strings to search for in
available dataset keywords. Defaults to |
content_type | A string or character vector of strings to search for
in available dataset content types. |
units | A string or character vector of strings to search for in
available dataset units. Defaults to |
A tibble with details on all datasets matching the search query.
x <- nomis_search(name = '*seekers*') y <- nomis_search(keywords = 'Claimants') # Return metadata of all datasets with content_type "sources". a <- nomis_search(content_type = "sources") # Return metadata of all datasets with content_type "sources" and # source ID "acses" b <- nomis_search(content_type = "sources-acses")