<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://script.spoken-tutorial.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=R%2FC2%2FMerging-and-Importing-Data%2FEnglish-timed</id>
		<title>R/C2/Merging-and-Importing-Data/English-timed - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=R%2FC2%2FMerging-and-Importing-Data%2FEnglish-timed"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=R/C2/Merging-and-Importing-Data/English-timed&amp;action=history"/>
		<updated>2026-04-23T19:44:10Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.17</generator>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=R/C2/Merging-and-Importing-Data/English-timed&amp;diff=52142&amp;oldid=prev</id>
		<title>Sakinashaikh: Created page with &quot;{| border =1 |'''Time''' |'''Narration'''  |- || 00:01 || Welcome to the spoken tutorial on '''Merging and Importing Data'''  |-  || 00:07 || In this tutorial, we will learn h...&quot;</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=R/C2/Merging-and-Importing-Data/English-timed&amp;diff=52142&amp;oldid=prev"/>
				<updated>2020-05-22T10:20:27Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{| border =1 |&amp;#039;&amp;#039;&amp;#039;Time&amp;#039;&amp;#039;&amp;#039; |&amp;#039;&amp;#039;&amp;#039;Narration&amp;#039;&amp;#039;&amp;#039;  |- || 00:01 || Welcome to the spoken tutorial on &amp;#039;&amp;#039;&amp;#039;Merging and Importing Data&amp;#039;&amp;#039;&amp;#039;  |-  || 00:07 || In this tutorial, we will learn h...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{| border =1&lt;br /&gt;
|'''Time'''&lt;br /&gt;
|'''Narration'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:01&lt;br /&gt;
|| Welcome to the spoken tutorial on '''Merging and Importing Data'''&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 00:07&lt;br /&gt;
|| In this tutorial, we will learn how to: &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:11&lt;br /&gt;
|| Use '''built-in functions''' for exploring a '''data frame'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:16&lt;br /&gt;
||'''Merge''' two '''data frames'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:19&lt;br /&gt;
|| Import '''data''' in different formats in '''R'''&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 00:24&lt;br /&gt;
|| To understand this tutorial, you should know&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:28&lt;br /&gt;
|| '''Data frames''' in '''R'''&lt;br /&gt;
 &lt;br /&gt;
|-&lt;br /&gt;
|| 00:31&lt;br /&gt;
|| '''R script''' in '''RStudio '''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:34&lt;br /&gt;
|| How to set '''working directory''' in '''RStudio'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:39&lt;br /&gt;
|| If not, please locate the relevant tutorials on '''R''' on this website.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 00:46&lt;br /&gt;
|| This tutorial is recorded on,&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:50&lt;br /&gt;
|| '''Ubuntu Linux''' OS version 16.04&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:55&lt;br /&gt;
|| '''R''' version 3.4.4&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:00&lt;br /&gt;
|| '''RStudio''' version  1.1.456&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:06&lt;br /&gt;
|| Install '''R''' version 3.2.0 or higher. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 01:12&lt;br /&gt;
|| For this tutorial, we will use,&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:15&lt;br /&gt;
|| five '''data frames ''' in different formats and&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:20&lt;br /&gt;
|| a '''script '''file '''myDataSet.R'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:24&lt;br /&gt;
|| Please download these files from the '''Code files''' link of this tutorial.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 01:30&lt;br /&gt;
|| I have downloaded these files from '''Code files''' link and moved them to '''DataMerging '''folder in '''myProject''' folder on the '''Desktop'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:42&lt;br /&gt;
|| I have also set this folder as my '''Working Directory'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 01:48&lt;br /&gt;
|| Let us switch to '''RStudio'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 01:51&lt;br /&gt;
|| Open the '''script myDataSet.R''' in '''RStudio'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:57&lt;br /&gt;
||For this, click on the '''script myDataSet.R'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:03&lt;br /&gt;
|| '''Script myDataSet.R''' opens in '''Rstudio.'''&lt;br /&gt;
|- &lt;br /&gt;
|| 02:09&lt;br /&gt;
|| Run this '''script''' by clicking on '''Source''' button. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 02:14&lt;br /&gt;
|| '''captaincyOne '''appears in the '''Source''' window. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 02:18&lt;br /&gt;
|| We will use some '''built-in functions''' of '''R''' to explore''' captaincyOne'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:24&lt;br /&gt;
|| For all the '''built-in functions''' used in this tutorial, please refer to the '''Additional Material'''.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 02:31&lt;br /&gt;
|| First, we will use '''summary''' function. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 02:35&lt;br /&gt;
|| Click on the script '''myDataSet.R'''&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 02:39&lt;br /&gt;
|| In the '''Source''' window, type '''summary''' and then '''captaincyOne '''in parentheses. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:46&lt;br /&gt;
|| Save the '''script''' and run the current line by pressing '''Ctrl+Enter''' keys simultaneously. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 02:55&lt;br /&gt;
|| In the '''Console''' window, scroll up to locate the output. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:02&lt;br /&gt;
|| '''Statistical parameters''' for each column of '''captaincyOne''' are shown on the '''Console'''.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 03:09&lt;br /&gt;
|| In the '''Source''' window, press '''Enter'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:13&lt;br /&gt;
|| Press '''Enter''' at the end of every command. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 03:17&lt;br /&gt;
|| Now, let us look at '''class function'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 03:21&lt;br /&gt;
|| In the '''Source''' window, type '''class''' and then '''captaincyOne''' in parentheses.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:29&lt;br /&gt;
|| Save the '''script '''and run the current line. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 03:34&lt;br /&gt;
|| '''class function''' returns the class of '''captaincyOne''', which is '''data frame'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 03:41&lt;br /&gt;
|| Next let us look at '''typeof function'''.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 03:45&lt;br /&gt;
|| In the '''Source '''window, type '''typeof''' and then '''captaincyOne''' in parentheses.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:53&lt;br /&gt;
|| Save the '''script''' and run the current line. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 03:58&lt;br /&gt;
|| '''typeof function''' returns the storage type of '''captaincyOne''', which is '''list'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 04:05&lt;br /&gt;
|| To know more about '''typeof function''', we will access the '''help''' section of '''RStudio'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 04:12&lt;br /&gt;
|| In the '''Console''' window, type '''help''', within parentheses '''typeof'''. Press '''Enter'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 04:20&lt;br /&gt;
|| '''typeof''' determines the '''R internal type''' or '''storage mode''' of any '''object'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 04:27&lt;br /&gt;
|| Click on the '''Files''' tab. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 04:30&lt;br /&gt;
|| Clear the '''Console''' window by clicking on the broom icon. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 04:35&lt;br /&gt;
|| Click on the '''data frame captaincyOne'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 04:39&lt;br /&gt;
|| Now, let us extract two rows from top of '''captaincyOne'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:45&lt;br /&gt;
|| For this, we will use '''head function'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 04:49&lt;br /&gt;
|| Click on the '''script myDataSet.R'''&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 04:53&lt;br /&gt;
|| In the '''Source''' window, type '''head''' within parentheses '''captaincyOne comma '''space 2. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:02&lt;br /&gt;
|| Save the '''script''' and run the current line. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 05:07&lt;br /&gt;
|| The top two rows of '''captaincyOne''' are shown on the '''Console''' window.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 05:13&lt;br /&gt;
|| Click on the '''data frame captaincyOne'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 05:17&lt;br /&gt;
|| Suppose we want to extract two rows from bottom of '''captaincyOne'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:24&lt;br /&gt;
|| For this, we will use the '''tail function'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 05:28&lt;br /&gt;
|| Click on the '''script myDataSet.R'''&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 05:32&lt;br /&gt;
|| In the '''Source''' window, type '''tail '''within parentheses '''captaincyOne comma '''space 2. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:41&lt;br /&gt;
|| Save the '''script '''and run the current line. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 05:46&lt;br /&gt;
|| The last two rows of '''captaincyOne''' are shown on the '''Console''' window.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 05:52&lt;br /&gt;
|| Next, let us learn about '''str function'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:57&lt;br /&gt;
|| This '''function''' is used to display the structure of an '''R object'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 06:03&lt;br /&gt;
|| In the '''Source''' window, type '''str '''within parentheses '''captaincyOne'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:10&lt;br /&gt;
|| Save the '''script''' and run the current line. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 06:15&lt;br /&gt;
|| The structural details of '''captaincyOne''' are shown on the '''Console'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 06:21&lt;br /&gt;
|| Now, we will look at '''merging''' of '''data frames'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 06:26&lt;br /&gt;
|| '''Merging data frames '''has advantages like: &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:30&lt;br /&gt;
|| It makes '''data''' more available.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:33&lt;br /&gt;
|| It helps in improving '''data''' quality.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:37&lt;br /&gt;
|| Combining similar '''data''' also reduces data complexity.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 06:42&lt;br /&gt;
|| Let us switch to '''RStudio'''.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 06:45&lt;br /&gt;
|| We will learn how to '''merge''' two '''data frames CaptaincyData.csv''' and '''CaptaincyData2.csv'''.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 06:55&lt;br /&gt;
|| We will declare a''' '''variable '''captaincyTwo''' to store and read '''CaptaincyData2.csv'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:03&lt;br /&gt;
|| In the '''Source '''window, type the following command and press '''Enter'''.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 07:11&lt;br /&gt;
|| Now, type '''View '''within parentheses '''captaincyTwo.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:17&lt;br /&gt;
|| Save the '''script '''and run the last two lines. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 07:23&lt;br /&gt;
|| The contents of '''captaincyTwo''' appear in the '''Source''' window. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 07:28&lt;br /&gt;
|| This '''data frame''' has the same '''captains''' as that in '''captaincyOne'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:34&lt;br /&gt;
|| However, it has different information about them like the number of matches '''drawn'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 07:40&lt;br /&gt;
|| Now, we will update '''captaincyOne''' by adding information from '''captaincyTwo'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:48&lt;br /&gt;
|| For this, we use '''merge function'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 07:52&lt;br /&gt;
|| Click on the script '''myDataSet.R'''&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 07:56&lt;br /&gt;
|| I am resizing the '''Source''' window.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 07:59&lt;br /&gt;
|| In the '''Source''' window, type the following command. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:04&lt;br /&gt;
|| Press '''Enter'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 08:06&lt;br /&gt;
|| In the '''merge function''', we use column names by which we want to merge two '''data frames'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:13&lt;br /&gt;
|| Here, it is '''names'''.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 08:16&lt;br /&gt;
|| Now, type '''View '''and '''captaincyOne''' in parentheses. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:22&lt;br /&gt;
|| Save the '''script '''and run these two lines. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 08:28&lt;br /&gt;
|| The contents of the updated '''captaincyOne''' appear in the '''Source''' window.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 08:35&lt;br /&gt;
|| Close the two tabs '''captaincyOne''' and '''captaincyTwo'''.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 08:41&lt;br /&gt;
|| Now, we will learn how to import '''data''' of different '''formats''' in '''R'''.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 08:47&lt;br /&gt;
|| We shall add one comment first. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:50&lt;br /&gt;
|| In the '''Source '''window, type '''#''' hash space '''Importing data in different formats'''.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 08:58&lt;br /&gt;
|| Now, let us import '''CaptaincyData.xml '''file.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:04&lt;br /&gt;
|| For that, we need to install '''XML '''package. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:09&lt;br /&gt;
|| Make sure that you are connected to '''Internet'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 09:13&lt;br /&gt;
|| We need to install '''Ubuntu''' package '''libxml2-dev ''' before installing '''XML''' package.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:23&lt;br /&gt;
|| Information on how to install this package, is provided in the '''Additional Material'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 09:29&lt;br /&gt;
|| I have already installed '''libxml2-dev''' package. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:35&lt;br /&gt;
|| Hence, I will proceed for installing '''XML''' package now. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 09:41&lt;br /&gt;
|| On the '''Console '''window, type '''install dot packages'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:47&lt;br /&gt;
|| Now, type '''XML'''inside double quotes and in parentheses.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:53&lt;br /&gt;
|| Press '''Enter'''. We will wait until '''R''' installs the '''package'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 10:00&lt;br /&gt;
|| Then, we load this '''package '''using '''library function'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 10:05&lt;br /&gt;
|| Click on the '''script myDataSet.R'''&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 10:09&lt;br /&gt;
|| Since we are loading a '''package''', we will add it at the top of the '''script'''.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 10:15&lt;br /&gt;
|| In the '''Source '''window, scroll up. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||10:18&lt;br /&gt;
|| Now, at the top of the '''script myDataSet.R''', type '''library '''and '''XML '''in parentheses'''. '''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||10:29&lt;br /&gt;
|| Save the '''script '''and run this line. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 10:34&lt;br /&gt;
|| Now, in the '''Source '''window, click on the next line after the '''comment Importing data in  different formats'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 10:43&lt;br /&gt;
|| Type the following '''command''' and press '''Enter'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 10:49&lt;br /&gt;
|| Then type '''View '''and '''xmldata '''in parentheses.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 10:56&lt;br /&gt;
|| Save the '''script '''and run these two lines. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 11:00&lt;br /&gt;
|| The contents of the '''xml''' file are shown here. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 11:05&lt;br /&gt;
|| Next let us learn how to import '''CaptaincyData.txt'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 11:12&lt;br /&gt;
|| Click on the '''script myDataSet.R'''&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 11:16&lt;br /&gt;
|| In the '''Source''' window, type the following '''command''' &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 11:21&lt;br /&gt;
|| and press '''Enter'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 11:24&lt;br /&gt;
|| Next, type '''View '''and '''txtdata '''in parentheses.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 11:30&lt;br /&gt;
|| Save the '''script '''and run these two lines. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 11:35&lt;br /&gt;
|| The contents of the '''txt''' file are shown. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 11:40&lt;br /&gt;
|| Now, we will learn how to import '''data''' from '''user interface''' of '''Rstudio'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 11:47&lt;br /&gt;
|| I am resizing the '''Source''' window. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 11:51&lt;br /&gt;
|| We will import the '''Excel''' file '''CaptaincyData.xlsx''' using this method. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 12:00&lt;br /&gt;
|| Please ensure that you have '''packages''' like '''readxl''' and '''Rcpp''' installed in your system.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 12:08&lt;br /&gt;
|| In the top right corner of '''RStudio''', click on the '''Environment '''tab.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 12:15&lt;br /&gt;
|| In the '''Environment '''tab, click on '''Import Dataset'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 12:20&lt;br /&gt;
|| From the drop-down menu, select '''From Excel'''.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 12:25&lt;br /&gt;
|| A window named '''Import Excel Data''' appears. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 12:30&lt;br /&gt;
|| You can select a '''file '''on your computer or type the '''URL '''from which you want to load an '''Excel '''file. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 12:39&lt;br /&gt;
|| We will select a file on our computer. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 12:43&lt;br /&gt;
|| In the upper right corner of this window, near '''File/Url''' text field, click on '''Browse'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 12:52&lt;br /&gt;
|| I will select the file '''CaptaincyData.xlsx''' located in '''DataMerging''' folder.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 13:01&lt;br /&gt;
|| This folder is in '''myProject''' folder on the '''Desktop'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 13:06&lt;br /&gt;
|| Click '''Open''' to load this '''file'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 13:10&lt;br /&gt;
|| Below the field '''File/Url, RStudio '''shows the preview of the '''Excel''' file being imported. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 13:17&lt;br /&gt;
|| At the bottom right corner of this window, you can see the code for importing this '''Excel''' file. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 13:24&lt;br /&gt;
|| Finally, click on the '''Import '''button. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 13:28&lt;br /&gt;
|| The contents of the '''Excel''' file are shown here. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 13:32&lt;br /&gt;
|| Let us summarize what we have learnt.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 13:36&lt;br /&gt;
|| In this tutorial, we have learnt how to:&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 13:40&lt;br /&gt;
|| Use '''built-in functions''' for exploring a '''data frame'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 13:45&lt;br /&gt;
|| '''Merge''' two '''data frames'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 13:48&lt;br /&gt;
|| Import '''data''' in different '''formats''' in '''R'''&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 13:53&lt;br /&gt;
|| We now suggest an assignment.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 13:57&lt;br /&gt;
|| Using '''built-in dataset iris''', implement all the '''functions''' we have learnt in this tutorial.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 14:04&lt;br /&gt;
|| The video at the following link summarises the Spoken Tutorial project.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 14:09&lt;br /&gt;
|| Please download and watch it.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 14:12&lt;br /&gt;
|| We conduct workshops using Spoken Tutorials and give certificates.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 14:18&lt;br /&gt;
|| Please contact us.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 14:21&lt;br /&gt;
|| Please post your timed queries in this forum.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 14:25&lt;br /&gt;
|| Please post your general queries in this forum.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 14:29&lt;br /&gt;
|| The '''FOSSEE '''team coordinates the '''TBC '''project. For more details, please visit these sites.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 14:37&lt;br /&gt;
|| The Spoken Tutorial project is funded by NMEICT, MHRD, Govt. of India&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 14:44&lt;br /&gt;
|| The script for this tutorial was contributed by Shaik Sameer (FOSSEE Fellow 2018).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 14:52&lt;br /&gt;
|| This is Sudhakar Kumar from IIT Bombay signing off. Thanks for watching.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Sakinashaikh</name></author>	</entry>

	</feed>