Skip to contents

The function creates a sample dataset object from data imported from a Parquet file. '

Usage

create_sample_dataset(file, method = "inram")

Arguments

file

A character file name or URI of Parquet file.

method

Whether to import the data in RAM ("inram") or keep it on-disk ("ondisk")

Value

A sample_dataset object, containing the sample data, sample metadata and spectrum metadata datatables.

See also

save_one_sample_data to save collected data from the R environment to Parquet or HDF5 files, and convert_one_sample_data to both collect data and saving to files.