Tag: check data type of column in R
How to detect data type in R and change it if necessary
Here is how to detect data type in R and change it when necessary. Further data manipulations may require checking of that. For example, if you want to join two data frames, the data type of the key columns must match.