[R] Is 'temp' a reserved/key word in R?
r@hep@rd @end|ng |rom @pp|-eco@y@@com
Tue Nov 30 15:34:50 CET 2021
A short data file:
The import function:
sal_temp <- read_csv("../data/geochem/sal-temp.csv", col_names = TRUE,
col_types = list (
site_nbr = col_character(),
sampdate = col_date(),
param = col_character(),
quant = col_double(),
unit = col_character()
The response from R:
The following named parsers don't match the column names: sampdate, param
I searched the web to see if 'temp' is causing the problem and didn't find
an answer; my search term might have been flawed.
If that string is a problem please suggest an alternative.
More information about the R-help