View source: R/catalog_entries.R
catalog_search | R Documentation |
Search catalog
catalog_search(
options = list(sk = NULL, from = NULL, to = NULL, country = NULL, collection = NULL,
created = NULL, dtype = NULL),
page = 0,
ps = 50,
sort_by = NULL,
sort_order = NULL,
api_key = NULL,
api_base_url = NULL
)
options |
- Search options:
|
page |
Page |
ps |
Page size (number of rows per page) |
sort_by |
Sort results by field, support fields are 'title','year','nation' |
sort_order |
Sort results order, valid options are 'asc', 'desc' |
list
#example - keywords search
catalog_search (
options=list(
sk="health survey"
),
ps=1000
)
#example - keywords search + filter by country and collection
catalog_search (
options=list(
sk="health survey",
country="albania|afghanistan",
collection="dhs"
),
ps=1000
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.