dl_data_col_classes: Check data columns classes and set to numeric if needed

View source: R/dl_data_loading_functions.R

dl_data_col_classesR Documentation

Check data columns classes and set to numeric if needed

Description

Checking and setting data column classes to numeric

Usage

dl_data_col_classes(data, parent_logger = "test")

Arguments

data

Data frame with the sapflow or environmental data to check

Details

Loading from csv's with fread can be problematic if some characters are spreaded here and there in the data columns. This function checks for this problem and tries to fix it

Value

A data frame exactly as the data provided with the variables changed to numeric if needed

See Also

Other Data Loading Functions: dl_get_si_code_psi(), dl_metadata(), qc_as_timestamp(), remove_dupcols()


vflo/PSIsapfluxnetQC1 documentation built on Feb. 15, 2024, 3:19 a.m.