Description Usage Arguments Value
View source: R/search_catalog.R
Helper function to search the DDH data catalog
1 2 3 4 5 6 7 8 | search_catalog(
fields = c("nid", "uuid", "title", "field_contact_email", "field_wbddh_data_type",
"status"),
filters = c(field_wbddh_data_type = 294, status = 1),
limit = 200,
root_url = dkanr::get_url(),
credentials = list(cookie = dkanr::get_cookie(), token = dkanr::get_token())
)
|
fields |
character vector: fields to be returned by the search |
filters |
named character vector: filters to be applied to the search |
limit |
numeric: Maximum number of records to retrieve by search iteration |
root_url |
character: API root URL |
credentials |
list: API authentication credentials |
list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.