I'm trying to read in an excel file to R using read_excel
(it's a xlsx
file), I have columns that contain letters and numbers, for example things like P765876
. These columns also have cells with just numbers i.e 234654
, so when it reads in to R
it reads as an Unknown (not character or numeric) but this means that it gives any cell which has a letter and number a value of NA
, how can I read this in correctly?
My code at the moment is
tenant<-read_excel("C:/Users/MPritchard/Repairs Projects/May 2017/Tenant Info/R data 1.xlsx")