Create a date variable specification
Arguments
- name
Variable name.
- range
Date vector of length two giving the inclusive valid date range.
- rtype
R output type. Defaults to
"date".- source_format
Source-format hint. Defaults to
"analysis".- missing_codes
Explicit missing-code values.
- missing_proportions
Missing-code probabilities aligned to
missing_codes.- garbage_rules
List of intentional invalid-value rules.
- provenance
Provenance metadata.
- model_hint
Backend hint.
See also
Other mock specification APIs:
mock_spec(),
mock_spec_categorical(),
mock_spec_continuous(),
mock_spec_from_recodeflow()