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

Опубликовано: 29 Сентябрь 2024
на канале: The Data Hall
346
3

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-ex...

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.