create_metadata: Create a metadata file for a dataset

Description Usage Arguments

View source: R/create_metadata.R

Description

Generates a metadata file that matches the emLab SOP and asks you a series of questions to fill in (currently only works for .csv and .xlsx)

Usage

1
create_metadata(file = NULL, path = ".", sheet_names = NULL)

Arguments

file

string for the filename you'd like to read in (e.g. "this_datasheet.csv")

path

directory for where that files lives (and where the readme will be saved) (e.g. "Downloads/")

sheet_names

concatenated strings (e.g. c("Macroinverts", "FishLength")) for which sheets of an excel file you'd like to generate a metadata file for; all sheets specified will be kept in the same readme document; if using a csv file or only one sheet is present, set to NULL


jcvdav/startR documentation built on Oct. 13, 2021, 2:40 a.m.