Hello dear community,
I'm happy for all the help I already got. I'm new to R and got stuck merging my excel sheets
merging all files (!= means not equal to)
df_long <- sapply(OLPPMS_ST_list, read_excel, simplify=FALSE) %>% bind_rows(.id = "File_ID") %>% filter(Mens_Start!="M4")
New names:
- `` -> ...89
- `` -> ...90
- `` -> ...91
- `` -> ...92
- `` -> ...93
- ...
Error: Can't combine/Users/laurapetri/Desktop/OLPPMS_analyzes/dataset_OLPPMS/1002_modified_20200219_rm_20200318_mr.xlsx$date
<datetime> and/Users/laurapetri/Desktop/OLPPMS_analyzes/dataset_OLPPMS/1348_modified_200612_ah_200615_bb.xlsx$date
.
Runrlang::last_error()
to see where the error occurred.
In addition: Warning messages:
1: In read_fun(path = enc2native(normalizePath(path)), sheet_i = sheet, :
Expecting numeric in CF27 / R27C84: got a date
2: In read_fun(path = enc2native(normalizePath(path)), sheet_i = sheet, :
Expecting numeric in CF28 / R28C84: got a date
3: In read_fun(path = enc2native(normalizePath(path)), sheet_i = sheet, :
Expecting numeric in CF39 / R39C84: got a date
4: In read_fun(path = enc2native(normalizePath(path)), sheet_i = sheet, :
Expecting numeric in CF63 / R63C84: got a date
I don't understand the errors, is there a problem that I have dates in my lists?
Thank you very much in advance!
Cheers Laura