Skip to contents

Select a dataset from a MarchRProject.

Usage

select_dataset(proj, dataset_name = character(0))

Arguments

proj

(MarchRProject) The project to select the dataset from.

dataset_name

(character) The name of the dataset to select. If not provided, and there is only one dataset in the project, that dataset will be selected. If there are multiple datasets, an error will be thrown.

Value

(list) A list containing the selected dataset under dataset, the project with any changes made under proj, and the name of the dataset under dataset_name.

Details

Select a dataset from a MarchRProject. If there are no datasets in the project, create a new dataset with the name dataset_1.