write_spec.Rd
Writes a survey specification file for the given survey design object.
write_spec(x, file, data_path, ...)
# S3 method for default
write_spec(x, file, data_path, ...)
# S3 method for inzsvyspec
write_spec(x, file, data_path, ...)
# S3 method for survey.design
write_spec(x, file, data_path, des, ...)
a survey object
the path of a file to write to
the location of the data, relative. Only specify if distributing both, and relative paths will remain consistent.
additional arguments for methods
a survey design object, needed for calibrated/poststratified surveys
Called for side-effect of writing to a file.