search_datasets: Search for datasets on HDX

Description Usage Arguments Details Value Examples

Description

Search for datasets on HDX

Usage

1
2
3
4
5
6
7
8
9
search_datasets(
  query = "*:*",
  filter_query = NULL,
  rows = 10L,
  start = 0L,
  page_size = 1000L,
  configuration = NULL,
  ...
)

Arguments

query

Character Query terms, use solr format and default to ":" (match everything)

filter_query

Character Filter Query results

rows

integer; Number of matching records to return. Defaults to 10.

start

integer; the offset in the complete result for where the set of returned datasets should begin.

page_size

integer; Size of page to return. Defaults to 1000.

configuration

Configuration object.

...

Extra parameters for package_search endpoints

Details

Search and find datasets on HDX

Value

A list of HDX datasets

Examples

1
2
3
4
5
## Not run: 
 # Setting the config to use HDX default server
 search_datasets("displaced nigeria", rows = 3L)

## End(Not run)

dickoa/rhdx documentation built on Oct. 13, 2021, 8:36 p.m.