tsg_specific_df: Get specific datasets

Description Usage Arguments Value See Also Examples

View source: R/specific-df.R

Description

Retrieve data contained with all or specific rows of a tibble returned by tsg_available() or tsg_missing().

Usage

1
tsg_specific_df(x, verbose = TRUE, timeout = 30, retries = 0)

Arguments

x

All or a subset of a tibble returned by tsg_available() or tsg_missing()

verbose

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

timeout

The maximum request time, in seconds. If data is not returned in this time, a value of NA is returned for that dataset. Defaults to 30 seconds.

retries

The number of retries to make if a request is not successful. Defaults to 0.

Value

A list of tibbles with grant data.

See Also

tsg_search_grants()

tsg_available()

tsg_missing()

Examples

1
2
3
4
5
6
7
8
## Not run: 
all_grants <- tsg_all_grants()

missing_grants <- tsg_missing(all_grants)

more_grants <- tsg_specific_df(missing_grants)

## End(Not run)

threesixtygiving documentation built on Dec. 2, 2020, 5:05 p.m.