Skip to content

Commit a4113c6

Browse files
learning objs reading
1 parent 7f4ebb9 commit a4113c6

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

source/reading.Rmd

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -42,31 +42,31 @@ tied well before going for a run so that you don’t trip later on!
4242
## Chapter learning objectives
4343
By the end of the chapter, readers will be able to do the following:
4444

45-
- Define the following:
45+
- Define the types of path and use them to locate files:
4646
- absolute file path
4747
- relative file path
48-
- **U**niform **R**esource **L**ocator (URL)
49-
- Read data into R using a relative path and a URL.
50-
- Compare and contrast the following functions:
48+
- Uniform Resource Locator (URL)
49+
- Read data into R from various types of path using:
5150
- `read_csv`
5251
- `read_tsv`
5352
- `read_csv2`
5453
- `read_delim`
5554
- `read_excel`
56-
- Match the following `tidyverse` `read_*` function arguments to their descriptions:
57-
- `file`
55+
- Compare and contrast the `read_*` functions.
56+
- Describe when to use the following `read_*` function arguments:
57+
- `skip`
5858
- `delim`
5959
- `col_names`
60-
- `skip`
6160
- Choose the appropriate `tidyverse` `read_*` function and function arguments to load a given plain text tabular data set into R.
6261
- Use the `rename` function to rename columns in a data frame.
63-
- Use `readxl` package's `read_excel` function and arguments to load a sheet from an excel file into R.
64-
- Connect to a database using the `DBI` package's `dbConnect` function.
65-
- List the tables in a database using the `DBI` package's `dbListTables` function.
66-
- Create a reference to a database table that is queriable using the `tbl` from the `dbplyr` package.
67-
- Retrieve data from a database query and bring it into R using the `collect` function from the `dbplyr` package.
62+
- Use `read_excel` function and arguments to load a sheet from an excel file into R.
63+
- Work with databases using functions from `dbplyr` and `DBI`:
64+
- Connect to a database with `dbConnect`.
65+
- List tables in the database with `dbListTables`.
66+
- Create a reference to a database table with `tbl`.
67+
- Bring data from a database into R using `collect`.
6868
- Use `write_csv` to save a data frame to a `.csv` file.
69-
- (*Optional*) Obtain data using **a**pplication **p**rogramming **i**nterfaces (APIs) and web scraping.
69+
- (*Optional*) Obtain data from the web using scraping and application programming interfaces (APIs):
7070
- Read HTML source code from a URL using the `rvest` package.
7171
- Read data from the NASA "Astronomy Picture of the Day" API using the `httr2` package.
7272
- Compare downloading tabular data from a plain text file (e.g., `.csv`), accessing data from an API, and scraping the HTML source code from a website.

0 commit comments

Comments
 (0)