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)

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