How to copy csv file from Amazon S3 bucket

0 votes

I was trying reading a .csv file from Amazon S3 bucket. This was the code i was using.

library(aws.s3) Sys.setenv("AWS_ACCESS_KEY_ID" = "Key src","AWS_SECRET_ACCESS_KEY" = "Key dest") df <-get_object("s3://dataset/Data.csv") obj <- rawToChar(df) con <- textConnection(obj) claim<- read.csv2(con)

Is there any other method for doing so?

Jul 6, 2018 in AWS by bug_seeker
• 15,510 points
2,100 views

1 answer to this question.

0 votes
Boto3 is the library to use for AWS interactions with python. The docs are not bad at all and the api is intuitive. The details of the process can be found in the link below. This was the most efficient method i knew! Hope this helps.
answered Jul 6, 2018 by Priyaj
• 58,020 points

Related Questions In AWS

+1 vote
2 answers

How to read a csv file stored in Amazon S3 using csv.DictReader

The code would be something like this: import ...READ MORE

answered Oct 25, 2018 in AWS by Archana
• 5,640 points
54,420 views
+1 vote
1 answer
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,041 views
+1 vote
2 answers

AWS CloudWatch Logs in Docker

The awslogs works without using ECS. you need to configure ...READ MORE

answered Sep 7, 2018 in AWS by bug_seeker
• 15,510 points
2,041 views
+3 votes
6 answers

How to move files from amazon ec2 to s3 bucket using command line

Hey, 3 ways you can do this: To ...READ MORE

answered Oct 9, 2018 in AWS by Omkar
• 69,220 points
20,015 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP