hdx_dataset_search: Search HDX for Datasets

Description Usage Arguments Examples

Description

This function will search the humanitarian data exchange for the term provided to it. It will return a dataframe of the results. If you are using the precise term and do not want any similar results, use the exact argument. If you want greater than ten results, use the rows argument.

Usage

1
hdx_dataset_search(term = "*:*", rows = 10, start = NULL, exact = FALSE)

Arguments

term

Title to search for. No default

rows

Max number of rows to return. Default is 10

exact

If exact = TRUE, will return only those datasets that exactly match the term provided. Default is FALSE

Examples

1
2
3
hdx_dataset_search()
hdx_dataset_search("afghanistan-roads", exact = TRUE)
hdx_dataset_search(rows = 100)

callumgwtaylor/hdxr documentation built on May 14, 2019, 9:22 p.m.