Skip to contents

Writes the frame survey, the design and the field forms of a sample as csv files, with an optional answer key for trainers.

Usage

export_survey(sample, dir = "casimir_survey", answer_key = NULL)

Arguments

sample

A cas_sample.

dir

Folder to write to (created).

answer_key

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.

Value

The paths written, invisibly, with attribute dir.