tsg_search_funders {threesixtygiving}R Documentation

Search funders

Description

Return a tibble with information on all grant datasets where funder data matches one or more search strings.

Usage

tsg_search_funders(
  search,
  search_in = NULL,
  verbose = TRUE,
  ignore_case = TRUE,
  perl = FALSE,
  fixed = FALSE
)

Arguments

search

The string(s) to search for. By default allows POSIX 1003.2 regular expressions. Use perl = TRUE for perl-style regex, or fixed = TRUE for fixed strings. Accepts single strings or a character vector of strings.

search_in

The name of the column to search in. Accepts single strings or a character vector of column names. If NULL, searches all columns.

verbose

If TRUE, prints console messages on data retrieval progress. Defaults to TRUE.

ignore_case

If TRUE ignores case.

perl

If TRUE, uses perl-style regex.

fixed

If TRUE, searches will be matched as-is.

Value

A tibble with information on matching datasets

See Also

tsg_search_grants() for retrieving all grants from matching funders.

Examples

## Not run: 
search1 <- tsg_search_funders(search = c("bbc", "caBinet"))

## End(Not run)


[Package threesixtygiving version 0.2.2 Index]