Skip to content

Commit 1a9bbcf

Browse files
fixing formatting reading
1 parent 0d8a181 commit 1a9bbcf

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

reading.Rmd

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ in R.
139139

140140
Beyond files stored on your computer (i.e., locally), we also need a way to locate resources
141141
stored elsewhere on the internet (i.e., remotely). For this purpose we use a *Uniform Resource Locator (URL)*,
142-
i.e., a web address that looks something like `https://datasciencebook.ca/. \index{URL}
142+
i.e., a web address that looks something like https://datasciencebook.ca/. \index{URL}
143143
URLs indicate the location of a resource on the internet and
144144
help us retrieve that resource.
145145

@@ -168,12 +168,7 @@ language data from the 2016 Canadian census. \index{Canadian languages!canlang d
168168
We put `data/` before the file's
169169
name when we are loading the data set because this data set is located in a
170170
sub-folder, named `data`, relative to where we are running our R code.
171-
172-
Here is what the file would look like in a plain text editor.
173-
174-
> **Note:** A plain text editor is a program that enables you to edit plain text.
175-
> Plain text is text data that has no additional formatting
176-
> (e.g., bold, italics, line spacing, fonts, font sizes, and embedded images).
171+
Here is what the text in the file `data/can_lang.csv` looks like.
177172

178173
```code
179174
category,language,mother_tongue,most_at_home,most_at_work,lang_known
@@ -354,7 +349,7 @@ specify that there are no column names to assign, and give it the value of
354349
> **Note:** `\t` is an example of an *escaped character*,
355350
> which always starts with a backslash (`\`). \index{escape character}
356351
> Escaped characters are used to represent non-printing characters
357-
> (like the tab) or characters with special meanings (such as quotation marks).
352+
> (like the tab) or those with special meanings (such as quotation marks).
358353
359354
```{r}
360355
canlang_data <- read_delim("data/can_lang.tsv",

0 commit comments

Comments
 (0)