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

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 May 7, 2020, 2 p.m.