Рет қаралды 907,382
Import Data, Copy Data from Excel (or other spreadsheets) to R: CSV & TXT Files with Free Practice Dataset: (bit.ly/2rOfgEJ) 👍🏼Best Statistics & R Programming Language Tutorials: ( goo.gl/4vDQzT )
►► Like to support us? You can Donate (bit.ly/2CWxnP2), Share our Videos, Leave us a Comment and Give us a Like! Either way We Thank You!
How to Import CSV data into R or How to Import TXT files into R from Excel or other spreadsheets using function in R
►How to import CSV data into R? We will be using "read.table" function to import comma separated data into R
► How to import txt data file into R? You will learn to use "read.delim" function to import the tab-delimited text file into R
► You will also learn to use "file.choose" argument for file location, "header" argument to let R know the data has headers or variable names and "sep" argument to let R know how the data values are separated.
►►Download the dataset here: statslectures....
►►Like to support us? You can Donate bit.ly/2CWxnP2 or Share the Videos!
►► Watch More:
► Intro to Statistics Course: bit.ly/2SQOxDH
►R Tutorials for Data Science bit.ly/1A1Pixc
►Getting Started with R (Series 1): bit.ly/2PkTneg
►Graphs and Descriptive Statistics in R (Series 2): bit.ly/2PkTneg
►Probability distributions in R (Series 3): bit.ly/2AT3wpI
►Bivariate analysis in R (Series 4): bit.ly/2SXvcRi
►Linear Regression in R (Series 5): bit.ly/1iytAtm
►ANOVA series bit.ly/2zBwjgL
►Linear Regression Concept and with R bit.ly/2z8fXg1
►Puppet Master of Statistics: bit.ly/2RDAAv4
►Hypothesis Testing: Concepts in Statistics bit.ly/2Ff3J9e
◼︎ Table of Content
0:00:17 What are the two main file types for saving a data file (CSV and TXT)
0:00:36 How to save an Excel file as a CSV file (comma-separated value)
0:01:10 How to open a CSV data file in Excel
0:01:20 How to open a CSV file in a text editor
0:01:36 How to import CSV file into R? using read.csv function
0:01:44 How to access the help menu for different commands/functions in R
0:02:04 How to specify file location for R? using file.choose argument on read.csv function
0:02:31 How to let R know our data has headers or variable names when importing the data into R? By using the “header” argument on read.csv function
0:03:22 How to import CSV file into R? using read.table function
0:03:38 How to specify the file location for the read.table function in R? using file.choose argument
0:03:46 How to specify how variables/columns are separated when importing data into R? the "sep" argument on read.table function will do that; for example if you don't specify that your data is comma separated, R ends up reading it all in as one variable
0:04:10 How to save a file in Excel as tab-delimited text (TXT) file
0:04:50 How to open a tab-delimited (.TXT) data file in a text editor
0:05:07 How to open a tab-delimited (.TXT) data file in excel
0:05:20 How to import tab-delimited (.TXT) data file into R? using read.delim function
0:05:44 How to specify the file path for read.delim function in R? using file.choose argument
0:06:06 How to import tab-delimited (.TXT) data file into R? using read.table function
0:06:23 How to specify that the data has headers or variable names when importing the data into R? using header argument on read.table function
This video is a tutorial for programming in R Statistical Software for beginners, using RStudio.
Follow MarinStatsLectures
Subscribe: goo.gl/4vDQzT
website: statslectures.com
Facebook:goo.gl/qYQavS
Twitter:goo.gl/393AQG
Instagram: goo.gl/fdPiDn
Our Team:
Content Creator: Mike Marin (B.Sc., MSc.) Senior Instructor at UBC.
Producer and Creative Manager: Ladan Hamadani (B.Sc., BA., MPH)
These videos are created by #marinstatslectures to support some courses at The University of British Columbia (UBC) (#IntroductoryStatistics and #RVideoTutorials for Health Science Research), although we make all videos available to the everyone everywhere for free.
Thanks for watching! Have fun and remember that statistics is almost as beautiful as a unicorn!