Skip to content

Commit ff572ab

Browse files
Merge pull request #269 from UBC-DSCI/dev
Merge dev into master
2 parents 91e62c6 + 4a380a9 commit ff572ab

File tree

167 files changed

+6548
-3759
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

167 files changed

+6548
-3759
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ The same comments regarding passwords and `sudo` as above apply here.
7474
- make sure we have permission to use all external resources that we use
7575
- remove all references to "clicking on things" in the HTML version of the book (e.g. "click this link to ...")
7676
- When we introduce a new term, use `**bolding**` to typeset it (but only the first introduction of the term)
77+
- for symbols as part of the text, make sure you give them their full name and surround with parentheses so that they
78+
don't "disappear" in the rest of the text. So for example, if I have a `,` in the text, I should do
79+
something like "here is some text about the comma (`,`)". Or for `<-`, we should do "something like this assignment operator (`<-`)".
80+
There are likely exceptions to this rule though.
81+
- Book titles in the text should be typeset in italics (e.g. *R for Data Science*)
7782
7883
#### Code blocks
7984
- Use the knitr label format `##-[name with only alphanumeric + hyphens]` where
@@ -131,6 +136,7 @@ bookdown::gitbook:
131136
#### Tables
132137
- make sure all tables get capitalized labels ("Table \\@ref(blah)", not "table below" or "table above")
133138
- make sure all tables get captions
139+
- make sure the row + column spacing is reasonable
134140

135141
#### Note boxes
136142
- note boxes should be typeset as quote boxes using `>` and start with **Note:**
@@ -149,7 +155,8 @@ bookdown::gitbook:
149155
- data frame (not dataframe)
150156
- data set (not dataset)
151157
- scatter plot (not scatterplot)
152-
- capitalize all initialisms and acronyms (URL not url, API not api, $K$-NN not $k$-nn)
158+
- bar plot (not bar chart)
159+
- capitalize all initialisms and acronyms (URL not url, API not api, K-NN not k-nn)
153160
- response variable (not target, output, label)
154161
- predictor variable (not explanatory, feature)
155162
- numerical variable (not quantitative variable)
@@ -176,8 +183,11 @@ These are absolute last steps when rendering the PDF output:
176183
- Look for and fix bad line breaks (e.g. with only one word on the next line, orphans, and widows)
177184
- Look for and fix bad line wraps in code and text
178185
- Look for and fix bad figure placement (falling off page, going over the side)
186+
- Look for and fix large whitespace sections where LaTeX doesn't want to break the next paragraph (usually `\allowdisplaybreaks` helps)
187+
- Fix incorrect indenting. LaTeX will indent for a new paragraph if there is an extra whitespace line, so these should be deleted if no paragraph break is desired.
179188
- Look for `??` in the PDF (broken refs)
180189
- Look in the index for near-duplicates, and merge if needed
190+
- Look for / fix raw LaTeX code (search for backslash and curly brace in the final PDF)
181191
- Make sure the 3D figures (and the text around them that refers to clicking and dragging) are properly modified for the PDF output
182192
- Make sure all markdown label-replaced URLs (of the form `[blah](url)`) will make
183193
sense in the hardcopy book version (i.e. nothing like "click this"). Many links appear in the additional resources: make sure the

clustering.Rmd

Lines changed: 426 additions & 211 deletions
Large diffs are not rendered by default.

data/islands.csv

Lines changed: 49 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,49 @@
1-
landmass,size
2-
Africa,11506
3-
Antarctica,5500
4-
Asia,16988
5-
Australia,2968
6-
Axel Heiberg,16
7-
Baffin,184
8-
Banks,23
9-
Borneo,280
10-
Britain,84
11-
Celebes,73
12-
Celon,25
13-
Cuba,43
14-
Devon,21
15-
Ellesmere,82
16-
Europe,3745
17-
Greenland,840
18-
Hainan,13
19-
Hispaniola,30
20-
Hokkaido,30
21-
Honshu,89
22-
Iceland,40
23-
Ireland,33
24-
Java,49
25-
Kyushu,14
26-
Luzon,42
27-
Madagascar,227
28-
Melville,16
29-
Mindanao,36
30-
Moluccas,29
31-
New Britain,15
32-
New Guinea,306
33-
New Zealand (N),44
34-
New Zealand (S),58
35-
Newfoundland,43
36-
North America,9390
37-
Novaya Zemlya,32
38-
Prince of Wales,13
39-
Sakhalin,29
40-
South America,6795
41-
Southampton,16
42-
Spitsbergen,15
43-
Sumatra,183
44-
Taiwan,14
45-
Tasmania,26
46-
Tierra del Fuego,19
47-
Timor,13
48-
Vancouver,12
49-
Victoria,82
1+
landmass,size,landmass_type
2+
Africa,11506,Continent
3+
Antarctica,5500,Continent
4+
Asia,16988,Continent
5+
Australia,2968,Continent
6+
Axel Heiberg,16,Other
7+
Baffin,184,Other
8+
Banks,23,Other
9+
Borneo,280,Other
10+
Britain,84,Other
11+
Celebes,73,Other
12+
Celon,25,Other
13+
Cuba,43,Other
14+
Devon,21,Other
15+
Ellesmere,82,Other
16+
Europe,3745,Continent
17+
Greenland,840,Other
18+
Hainan,13,Other
19+
Hispaniola,30,Other
20+
Hokkaido,30,Other
21+
Honshu,89,Other
22+
Iceland,40,Other
23+
Ireland,33,Other
24+
Java,49,Other
25+
Kyushu,14,Other
26+
Luzon,42,Other
27+
Madagascar,227,Other
28+
Melville,16,Other
29+
Mindanao,36,Other
30+
Moluccas,29,Other
31+
New Britain,15,Other
32+
New Guinea,306,Other
33+
New Zealand (N),44,Other
34+
New Zealand (S),58,Other
35+
Newfoundland,43,Other
36+
North America,9390,Continent
37+
Novaya Zemlya,32,Other
38+
Prince of Wales,13,Other
39+
Sakhalin,29,Other
40+
South America,6795,Continent
41+
Southampton,16,Other
42+
Spitsbergen,15,Other
43+
Sumatra,183,Other
44+
Taiwan,14,Other
45+
Tasmania,26,Other
46+
Tierra del Fuego,19,Other
47+
Timor,13,Other
48+
Vancouver,12,Other
49+
Victoria,82,Other

0 commit comments

Comments
 (0)