This function returns a tibble (currently) in all_data, abstracting away the mechanism for accessing it from the chunks. Throws an error if data is not present.

get_data(all_data, name, strip_attributes = FALSE)

Arguments

all_data

Data structure

name

Name of data to return

strip_attributes

Boolean indicating that `gcamdata` attributes should be removed when this data chunk is loaded.

Value

Data object (currently, a tibble or data frame). If the object was marked NA in the data store, indicating an optional input that was not found, a NULL is returned.