Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct number of columns in look at data section #85

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion book/04-wrangling-1.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ You should see something like the following output:
head(babynames)
```

The first line tells us "# A tibble: `r dim(babynames)[1]` x `r dim(babynames)[2]`". What this means is that the object we are looking at is actually a `r glossary("tibble")`, a type of two dimensional table with some unique properties, and we have data across `r dim(babynames)[1]` variables (columns) with `r dim(babynames)[1]` million observations (rows). Yes, this dataset contains over 1.9 **million** observations. Interested in analyzing these data by hand? No thanks!
The first line tells us "# A tibble: `r dim(babynames)[1]` x `r dim(babynames)[2]`". What this means is that the object we are looking at is actually a `r glossary("tibble")`, a type of two dimensional table with some unique properties, and we have data across `r dim(babynames)[2]` variables (columns) with `r dim(babynames)[1]` million observations (rows). Yes, this dataset contains over 1.9 **million** observations. Interested in analyzing these data by hand? No thanks!

Looking at the column names you start to get a sense of what the data is. The variables (columns) are as follows:

Expand Down