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

Typo fixes in tidy.Rmd (Exercise 12.2.2) #587

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
6 changes: 3 additions & 3 deletions strings.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ Create a regular expression that will match telephone numbers as commonly writte

<div class="answer">

<div class="alert alert-primary hints-alert>
<div class="alert alert-primary hints-alert">
This answer can be improved and expanded.
</div>

Expand Down Expand Up @@ -618,8 +618,8 @@ The answer to each part follows.
Construct regular expressions to match words that:

1. Start and end with the same character.
1. Contain a repeated pair of letters (e.g. ``church'' contains ``ch'' repeated twice.)
1. Contain one letter repeated in at least three places (e.g. ``eleven'' contains three ``e''s.)
1. Contain a repeated pair of letters (e.g. ``church`` contains ''ch'' repeated twice.)
1. Contain one letter repeated in at least three places (e.g. ``eleven`` contains three ''e''s.)

</div>

Expand Down
2 changes: 1 addition & 1 deletion tidy.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ made it easy to divide cases by population.
However, we had to repeat this calculation for each row.

The ideal format of a data frame to answer this question is one with columns `country`, `year`, `cases`, and `population`.
Then problem could be answered with a single `mutate()` call.
Then, the problem could be answered with a single `mutate()` call.

</div>

Expand Down