Harmonizes the types of columns in a dataframe according to a type mapping.
Utilisation
harmonize_column_types(df, dictionary = NULL)
Arguments
- df
The dataframe to harmonize.
- dictionary
(optional) a data.frame with a least 2 cols 'nom' and 'Rclass'
Valeur de retour
A dataframe with harmonized column types.