fix_types: Fix data types

View source: R/import.R

fix_typesR Documentation

Fix data types

Description

The output of read_file will usually have only character types because of a faulty header row. This function fixes the column types, which also introduces NAs by coersion. These are later removed with the remove_na_rows function. Also rename ST_DEJAVNOSTI while i'm at it

Usage

fix_types(df)

Arguments

df

data frame output of read_file

Value

data frame with same dimensions as input


majazaloznik/ddvR documentation built on Feb. 13, 2025, 12:32 p.m.