Reshape the dataset from wide format to long format.
Arguments
- dt
Dataset to be reshaped
- respec
Reshape specification with
id
,measure
andreshape type
variables. This is the output fromget_reshape_id_val()
See also
Other reshape functions:
do_reshape_long()
,
do_reshape_rename_col()
,
do_reshape_wide()
,
get_reshape_id_val()
,
get_reshape_wide_spec()