Skip to contents

Export Metadata to an Excel file

Usage

nmr_meta_export(
  nmr_dataset,
  xlsx_file,
  groups = c("info", "orig", "title", "external")
)

Arguments

nmr_dataset

An nmr_dataset_family object

xlsx_file

"The .xlsx excel file"

groups

A character vector. Use "external" for the external metadata or the default for a more generic solution

Value

The Excel file name

Examples

dir_to_demo_dataset <- system.file("dataset-demo", package = "AlpsNMR")
dataset <- nmr_read_samples_dir(dir_to_demo_dataset)
# nmr_meta_export(dataset, "metadata.xlsx")