fix_column_data_types {ipanema} | R Documentation |
fix_column_data_types
Description
Freshly exported data has all item-data columns as type "character". This function converts these columns to ideal types (e.g. integer). Currently simply converts all multiple-choice columns to integer. Future task: Add conversion to other data types as needed.
Usage
fix_column_data_types(df_in)
Arguments
df_in |
The 'data.frame' object to fix. |
Value
A 'data.frame' object containing the data from 'df_in' but with fixed column data types.
[Package ipanema version 1.1.0 Index]