Import CSV File in R using read.csv and read_csv (readr tidyverse)

One of the first steps towards data analysis is to import the data in R. We usually have data in CSV (comma-separated values) format. To import csv file in R...

Import CSV File in R using read.csv and read_csv (readr tidyverse)
The Data Hall
840 views • Jul 21, 2023
Import CSV File in R using read.csv and read_csv (readr tidyverse)

About this video

One of the first steps towards data analysis is to import the data in R. We usually have data in CSV (comma-separated values) format. To import csv file in R we can use read.csv or read_csv funciton. The read.csv is a function coming from base R i.e. the come preinstalled with R. The 2nd package which is read_csv is from the readr (tidyverse) library. read_csv is faster than read.csv.

The following link contains the files used in this video
https://payhip.com/b/kI4Ni

The following link contains more information on this topic:
https://thedatahall.com/import-and-export-csv-file-in-r/

00:00 Slow VS Fast Method
0:55 read.csv (Slow Method)
2:00 Import without header
3:45 Import semi-colon separator
6:26 Import comma for decimal point
8:21 Row and Column Name
9:05 read_csv (Fast Method)
10:26 Import without header




Website: thedatahall.com
As an Amazon Associate, I earn from qualifying purchases.

Video Information

Views

840

Likes

7

Duration

14:20

Published

Jul 21, 2023

Related Trending Topics

LIVE TRENDS

Related trending topics. Click any trend to explore more videos.

No specific trending topics match this video yet.

Explore All Trends