Skip to contents

Renames a data frame's columns and converts them to their proper types. Aimed at datasets published by cantonal statistical offices.

Usage

tidy_cols(data, default_type = readr::col_character())

Arguments

data

Data frame whose columns are to be converted.

default_type

readr column type to which columns are to be converted for which no explicit type is predefined.

Value

data