Hi I am trying to read a csv file that I have in my AWS bucket.
I am using the below code to read the csv file. but I am getting a error,
Error in read.table(file = file, header = header, sep = sep, quote = quote, : more columns than column names
I read the previous post to solve , but I was unsuccessful, could any one help me to resolve this issue.
The code I am using
library("aws.s3")
# using account credentials
aws.signature::use_credentials()
#Read Claim data
c<- get_object("s3://data-eu1/flexibleanalysislist/Data.csv")
#Convert object and show the data
cobj <-rawToChar(c)
con <- textConnection(cobj)
data<- read.csv(con)