Given a list returned by tsg_all_grants() or tsg_search_grants(), creates a tibble with the core variables required by the 360Giving open standard, as well as the publisher prefix and dataset identifier, which are useful for data processing, and the licence the data was published under.

tsg_core_data(x, verbose = TRUE)

Arguments

x

A list of tibble with grant data returned by tsg_all_grants().

verbose

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

Value

A tibble with the core variables in the 360Giving standard.

See also

tsg_process_data(), which does the same processing but returns all available variables.

Examples

if (FALSE) {
grants <- tsg_all_grants()

df <- tsg_core_data(grants)
}