﻿1
00:00:01,230 --> 00:00:10,110
‫So now that we have learned how to install and remove packages let us learn about how to add data on

2
00:00:10,110 --> 00:00:13,370
‫which we want to perform our analysis.

3
00:00:13,380 --> 00:00:14,700
‫There are three ways.

4
00:00:14,700 --> 00:00:17,750
‫One is to use us building data sets.

5
00:00:17,780 --> 00:00:25,260
‫Other is you can enter data manually and stored in variables create data tables and the third option

6
00:00:25,260 --> 00:00:28,830
‫is you can import your data from a CSP file or a text file.

7
00:00:30,720 --> 00:00:32,770
‫Let us look at the first option.

8
00:00:33,330 --> 00:00:36,540
‫Has a building package called the data set package.

9
00:00:37,170 --> 00:00:46,810
‫If you go to the packages option and scroll down you can find the data set package in the system library

10
00:00:48,210 --> 00:00:50,180
‫that is a data search package.

11
00:00:50,180 --> 00:00:51,080
‫So does it start.

12
00:00:51,230 --> 00:00:55,600
‫You will just click here to make it available.

13
00:00:56,090 --> 00:01:04,460
‫If you want to look at the list of data set that are part of this package you can just write data open

14
00:01:04,460 --> 00:01:05,270
‫and close bracket

15
00:01:08,540 --> 00:01:15,370
‫press control enter and you will get a list of all the data set that that part of this package with

16
00:01:15,370 --> 00:01:17,160
‫a smaller description in front of the name

17
00:01:20,350 --> 00:01:27,070
‫another way of doing the same thing is we can bait library

18
00:01:32,810 --> 00:01:35,980
‫and within brackets will rate help is equal to

19
00:01:38,870 --> 00:01:41,630
‫double quotation marks because it

20
00:01:44,990 --> 00:01:52,340
‫would underscore my you can see it is giving you the same list of all the data set available in the

21
00:01:52,340 --> 00:01:59,570
‫package now in this list of packages you can see there is a data set called Iris

22
00:02:02,450 --> 00:02:11,350
‫let us learn something about this dataset so we'll go to our script window and we'll write.

23
00:02:11,560 --> 00:02:13,020
‫Question mark Iris

24
00:02:15,720 --> 00:02:16,380
‫is it all lose.

25
00:02:16,410 --> 00:02:22,410
‫This will tell us what that dataset contains in the help section.

26
00:02:22,410 --> 00:02:25,230
‫You can see the description of this data.

27
00:02:25,230 --> 00:02:33,430
‫The format of the data the source Tegra ie this is basically data of class and it contains data such

28
00:02:33,430 --> 00:02:35,290
‫as SEPA land.

29
00:02:35,560 --> 00:02:43,600
‫You can see here separate land several great land pedal worked and the species to let us look at the

30
00:02:43,600 --> 00:02:56,550
‫structure of this dataset to see the structure relate as these are and within bracket relate this control.

31
00:02:57,460 --> 00:03:04,720
‫So as I told you it has five variables simple land weird but the land where 10 species and it has 150

32
00:03:04,720 --> 00:03:12,650
‫observations so basically it and it has 50 floors of tree species.

33
00:03:12,670 --> 00:03:14,590
‫So that's why 150 observations.

34
00:03:14,770 --> 00:03:22,540
‫And when you write SDR it is giving the structure of this data frame and it is telling you the column

35
00:03:22,540 --> 00:03:27,490
‫name column type and few observations of that column.

36
00:03:28,450 --> 00:03:35,280
‫So whenever you get new data you should look at the structure of the data to know more about the data

37
00:03:36,750 --> 00:03:49,420
‫if you want to look at the data you just write Iris and present it right as presented so you can see

38
00:03:49,990 --> 00:03:56,580
‫these are the 150 rows with five columns.

39
00:03:56,600 --> 00:04:02,210
‫Now if you want to load this data set into your workspace you need to write data

40
00:04:05,120 --> 00:04:06,560
‫within brackets Iris

41
00:04:11,590 --> 00:04:20,980
‫control and now you can see Iris is part of the workspace now and you can use it for net analysis.

