R/export.R
export_survey.Rd
Writes the frame survey, the design and the field forms of a sample as csv files, with an optional answer key for trainers.
export_survey(sample, dir = "casimir_survey", answer_key = NULL)
A cas_sample.
cas_sample
Folder to write to (created).
The cas_fishery the sample was drawn from, to add an answer_key/ folder (true catch by stratum, estimate vs truth, planted artefacts); NULL for none.
cas_fishery
answer_key/
NULL
The paths written, invisibly, with attribute dir.
dir