get_data: getdata

View source: R/utils-data.R

get_dataR Documentation

getdata

Description

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.

Usage

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.


bpbond/gcamdata documentation built on March 22, 2023, 4:52 a.m.