Using if else to format fields in dataframe when reading in using read_xl in R

前端 未结 0 1829
小鲜肉
小鲜肉 2021-02-13 11:52

If you read in an excel file in R using read_xlsx, how do you :

IF col.name CONTAINS "date" FORMAT COLUMN as DATE

?

At the moment I do this:

<
相关标签:
回答
  • 消灭零回复
提交回复
热议问题