extract_dict_list: extract_dict_list

View source: R/file_format_utils.R

extract_dict_listR Documentation

extract_dict_list

Description

Handles dict input from nodelist tibbles. This can be:

  1. a list containing one tibble with four rows containing four strings (if actdata keys or filepaths)

  2. or a list of four tibbles representing dictionaries (if a df was passed)

  3. A mix of these two formats

Usage

extract_dict_list(input)

Arguments

input

the input passed from the nodelist df

Details

These are not checked for validity here; that happens later. TODO: Think about whether this check should be moved up (possibly to the nodelist creation).

Value

a list with four string entries or a tibble with four nested tibble entries


ahcombs/bayesactR documentation built on Jan. 15, 2025, 6:49 p.m.