People’s personal Information

Importing csv file and naming it

  1. insert data and changed name of file to people=read.csv.
  2. used head (people) to visualize data
  3. created table using table=people[1:4,] and knitr
  4. Added titles and subtitles
  5. Added picture
  6. Added Citation
people=read.csv("people-100.csv")

head(people)
##   Index         User.Id First.Name Last.Name    Sex                      Email
## 1     1 88F7B33d2bcf9f5     Shelby   Terrell   Male       elijah57@example.net
## 2     2 f90cD3E76f1A9b9    Phillip   Summers Female      bethany14@example.com
## 3     3 DbeAb8CcdfeFC2c   Kristine    Travis   Male      bthompson@example.com
## 4     4 A31Bee3c201ef58    Yesenia  Martinez   Male  kaitlinkaiser@example.com
## 5     5 1bA7A3dc874da3c       Lori      Todd   Male buchananmanuel@example.net
## 6     6 bfDD7CDEF5D865B       Erin       Day   Male        tconner@example.org
##                    Phone Date.of.birth                Job.Title
## 1 001-084-906-7849x73518    1945-10-26          Games developer
## 2      214.112.6044x4913    1910-03-24           Phytotherapist
## 3           277.609.7938    1992-07-02                Homeopath
## 4           584.094.6111    2017-08-03        Market researcher
## 5      689-207-3558x7233    1938-12-01       Veterinary surgeon
## 6  001-171-649-9856x5553    2015-10-28 Waste management officer

Making table of personal information

First Name Last Name Index Sex
Shelby Tarrell 1 Male
Phil Wise 2 Female
knitr::include_graphics("people picture for r .jpg")