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

Wrangling chapter review #235

Merged
merged 72 commits into from
Sep 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
5b1fc62
updating the wide/long sections as per reviewer E suggestions
leem44 Jun 27, 2021
fb7c142
adding convert argument to separate function
leem44 Jun 28, 2021
6b31e5c
updating mutate section to account for new convert in separate sectio…
leem44 Jun 28, 2021
c03342a
editing piping section to include when you might use temporary object…
leem44 Jun 28, 2021
bea4ae2
updating piping section as per Reviewer Cs suggestion
leem44 Jun 28, 2021
8c4e76c
adding why wide is bad
leem44 Jun 28, 2021
7b729c2
minor changes
leem44 Jun 28, 2021
bb989f6
changing column width in lang_long table so we can read all the rows
leem44 Jun 28, 2021
5f2d235
adding example for tibble
leem44 Jun 28, 2021
4a11419
adding summarize_if
leem44 Jun 28, 2021
31cdcdf
adding section about select helpers
leem44 Jun 29, 2021
a0f9749
added section on summarize +across
leem44 Jun 29, 2021
9b9f0c6
doing a pass through the chapter and editing grammar/spelling/logic
leem44 Jun 29, 2021
80df294
removing summarize_if since we have across
leem44 Jun 29, 2021
59dedd9
minor change
leem44 Jun 29, 2021
4a7b8a6
updating numbers in pivot longer table to match data frame
Jul 8, 2021
b94e2dc
merging with remote branch
Jul 8, 2021
fd487c5
adding image explanation for separate function
Jul 8, 2021
23a7442
moving section down to additional resources
Jul 29, 2021
c5b8533
wrapping text
Jul 29, 2021
c5dbe60
making corrections to the formatting
Jul 29, 2021
b74c232
fixing code box in wrong place
Aug 16, 2021
c74feab
updating numbers in pivot longer table to match data frame
Jul 8, 2021
48ad252
updating the wide/long sections as per reviewer E suggestions
leem44 Jun 27, 2021
c7206bb
adding convert argument to separate function
leem44 Jun 28, 2021
86e1b0d
updating mutate section to account for new convert in separate sectio…
leem44 Jun 28, 2021
3b6c87e
editing piping section to include when you might use temporary object…
leem44 Jun 28, 2021
0e969d5
updating piping section as per Reviewer Cs suggestion
leem44 Jun 28, 2021
6d5536a
adding why wide is bad
leem44 Jun 28, 2021
d7bdff8
minor changes
leem44 Jun 28, 2021
e23cc4d
changing column width in lang_long table so we can read all the rows
leem44 Jun 28, 2021
2bfdbcd
adding example for tibble
leem44 Jun 28, 2021
955d111
adding summarize_if
leem44 Jun 28, 2021
6a415d1
adding section about select helpers
leem44 Jun 29, 2021
316b1c0
added section on summarize +across
leem44 Jun 29, 2021
6f1d40d
doing a pass through the chapter and editing grammar/spelling/logic
leem44 Jun 29, 2021
d0be545
removing summarize_if since we have across
leem44 Jun 29, 2021
05da9ae
minor change
leem44 Jun 29, 2021
6547353
adding image explanation for separate function
Jul 8, 2021
ae49617
moving section down to additional resources
Jul 29, 2021
70d903c
wrapping text
Jul 29, 2021
e7f7172
making corrections to the formatting
Jul 29, 2021
81eb7e3
fixing code box in wrong place
Aug 16, 2021
16f55f7
renamed wrangling
Aug 16, 2021
54b40c5
editing map paragraph since we added summarize and across
Aug 16, 2021
84b50a4
adding section on rowwise
Aug 16, 2021
f2bdb3e
addressing reviewer Ds comments (adding table of summary wrangling fu…
Aug 16, 2021
2490eac
changing text up to 3.4.3: reordering vector, data frame, list sectio…
Aug 17, 2021
467066f
going through 3.4.3 - 3.5.1 and fixing the writing
Aug 17, 2021
2fe8478
fixing the writing for clarity, updating the explanation of pull
Aug 17, 2021
a217d0e
one last editing pass in the second half of the chapter
Aug 17, 2021
89d2ffd
split functions and operators across two bullets and alphabetized the…
ttimbers Sep 19, 2021
d3a29bc
combined row and observation figure into one, as the explanation seem…
ttimbers Sep 19, 2021
7af9dbb
swapped example to be character, not integer - because we call it an …
ttimbers Sep 19, 2021
ccb1d0e
fixed typo calling vector year that I changed to region
ttimbers Sep 19, 2021
919701c
a few more image changes to go with the character vector example
ttimbers Sep 19, 2021
0acd051
reviewed up until Tidy data
ttimbers Sep 19, 2021
2ecf1e0
changed some headers to title case to be consistent
ttimbers Sep 19, 2021
5551639
worked on tidying from wider to longer wording and removed loading da…
ttimbers Sep 20, 2021
0df1d18
fixed wrong tidy image
ttimbers Sep 22, 2021
3fbf22e
wording changes to tidy data section
ttimbers Sep 22, 2021
6858f74
wording changes up to the end of mutate
ttimbers Sep 22, 2021
a34e1ac
improved image size for fig 02-plot
ttimbers Sep 22, 2021
93d366e
simplified mutate as a new column example
ttimbers Sep 22, 2021
cd611ba
small plot changes related to simplifuing the mutate example
ttimbers Sep 22, 2021
3a651da
wording changes for the pipe section
ttimbers Sep 23, 2021
d03b1d0
edited wording in rowwise section
ttimbers Sep 23, 2021
15ec161
reorganized and simplied the summarize/purrr map/rowwise section. Sti…
ttimbers Sep 25, 2021
ec9a2af
added NA section for summarize + across
ttimbers Sep 26, 2021
2bc1b8f
Fixed images for pivoting and added images for aggregating
ttimbers Sep 26, 2021
ee93e23
tried to keep most text and all code to 80 characters
ttimbers Sep 26, 2021
5d2abc1
merging dev into wrangling
ttimbers Sep 27, 2021
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
36 changes: 36 additions & 0 deletions data/region_data.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
region,households,area,population,dwellings
Belleville,43002,1354.65121,103472,45050
Lethbridge,45696,3046.69699,117394,48317
Thunder Bay,52545,2618.26318,121621,57146
Peterborough,50533,1636.98336,121721,55662
Saint John,52872,3793.42158,126202,58398
Brantford,52530,1086.27106,134203,54419
Moncton,61769,2625.1211,144810,66699
Guelph,59280,604.00365,151984,63324
Trois-Rivières,72502,1052.80206,156042,77734
Saguenay,72479,3078.79919,160980,77968
Kingston,67915,2142.32855,161175,77173
Greater Sudbury,70445,4372.1229,164689,76619
Abbotsford - Mission,62631,651.99511,180518,65967
Kelowna,81383,3144.90019,194882,88374
Barrie,72534,967.67675,197059,76336
St. John's,85015,850.46041,205955,92353
Sherbrooke,95577,1506.36002,212105,106082
Regina,94955,4408.86418,236481,101719
Saskatoon,115283,6218.50503,295095,124766
Windsor,132912,1032.38176,329144,140408
Victoria,162716,704.4339,367770,172559
Oshawa,138962,908.06142,379848,142462
Halifax,173459,5963.13705,403390,187478
St. Catharines - Niagara,168485,1425.34399,406074,180606
London,206448,2677.86088,494069,220452
Kitchener - Cambridge - Waterloo,200495,1106.65072,523894,210896
Hamilton,293345,1404.6567,747545,306034
Winnipeg,306550,5410.82907,778489,321484
Québec,361891,3475.38576,800296,382308
Edmonton,502143,9857.77908,1321426,537634
Ottawa - Gatineau,535499,7168.96442,1323783,571146
Calgary,519693,5241.70103,1392609,544870
Vancouver,960894,3040.41532,2463431,1027613
Montréal,1727310,4638.24059,4098927,1823281
Toronto,2135909,6269.93132,5928040,2235145
Binary file modified docs/_main_files/figure-html/02-plot-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_main_files/figure-html/test-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/img/dataframe/dataframe.001.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/img/obs_and_var/obs_and_var.001.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/img/pivot_longer_with_table.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/img/separate_function.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/img/vec_vs_list/vec_vs_list.001.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/img/vector/vector.001.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/data_frame_slides_cdn.key
Binary file not shown.
Binary file added img/dataframe/dataframe.001.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/obs_and_var/obs_and_var.001.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/pivot_functions.key
100644 → 100755
Binary file not shown.
Binary file added img/pivot_functions/pivot_functions.001.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/pivot_functions/pivot_functions.002.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/pivot_functions/pivot_functions.003.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/pivot_functions/pivot_functions.004.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed img/pivot_longer_table.jpeg
Binary file not shown.
Binary file modified img/pivot_longer_with_table.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/separate_function.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/summarize.key
Binary file not shown.
Binary file added img/summarize/summarize.001.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/summarize/summarize.002.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/summarize/summarize.003.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/summarize/summarize.004.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/vec_vs_list/vec_vs_list.001.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/vector/vector.001.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,718 changes: 1,241 additions & 477 deletions wrangling.Rmd

Large diffs are not rendered by default.