Convert a datras_raw / DATRASraw object to either long or wide tabular
format.
Arguments
- x
A
datras_rawobject.- type
Character string specifying the output format. Must be either
"long"(default) or"wide".- ...
Additional arguments passed to
as_long_format()oras_wide_format().
Details
This is a convenience wrapper around as_long_format() and
as_wide_format().
If type = "long", the object is converted using as_long_format().
If type = "wide", the object is converted using as_wide_format().
