Function to reshape fieldbook according a separation character
fieldbook_reshape( data, last_factor, sep, new_colname, from_var = NULL, to_var = NULL, exc_factors = NULL )
Field book raw data.
The last factor in your field book.
Character that separates the last value.
The new name for the column created.
The first variable in case you want to exclude several. variables.
The last variable in case you want to exclude several variables.
Factor to exclude during the reshape.
If you variable name is
variable_evaluation_rep. The reshape function
will help to create the column
rep and the new variable name will be