fix_column_data_types: fix_column_data_types

View source: R/fix_column_data_types.R

fix_column_data_typesR 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.


ipanema documentation built on June 8, 2025, 11:06 a.m.