Skip to content

Commit

Permalink
Added additional :: to be consistent with other lessons
Browse files Browse the repository at this point in the history
  • Loading branch information
doujouDC committed Sep 26, 2023
1 parent e330a23 commit f94862c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions episodes/02-starting-with-data.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ editor_options:
source("setup.R")
```

::: objectives
::::::::::::::::::::::::::::::::::::::: objectives
- Load external data from a .csv file into a data frame.
- Install and load packages.
- Describe what a data frame is.
Expand All @@ -22,17 +22,17 @@ source("setup.R")
- Reorder and rename factors.
- Change how character strings are handled in a data frame.
- Format dates.
:::
:::::::::::::::::::::::::::::::::::::::::::::::::::

::: questions
::::::::::::::::::::::::::::::::::::::: questions
- What is a data.frame?
- How can I read a complete csv file into R?
- How can I get basic summary information about my dataset?
- How can extract specific information from a dataframe?
- What are factors, and how are they different from other datatypes?
- How can I rename factors?
- How are dates represented in R and how can I change the format?
:::
:::::::::::::::::::::::::::::::::::::::::::::::::::

## Loading the survey data

Expand Down
8 changes: 4 additions & 4 deletions episodes/03-dplyr.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ suppressWarnings(surveys$date <- lubridate::ymd(paste(surveys$year,
sep = "-")))
```

:::::::::::::::::::::::::::::::::::::: objectives
::::::::::::::::::::::::::::::::::::::: objectives

- Describe the purpose of the **`dplyr`** and **`tidyr`** packages.
- Select certain columns in a data frame with the **`dplyr`** function `select`.
Expand All @@ -27,16 +27,16 @@ suppressWarnings(surveys$date <- lubridate::ymd(paste(surveys$year,
- Reshape a data frame from long to wide format and back with the `pivot_wider` and `pivot_longer` commands from the **`tidyr`** package.
- Export a data frame to a .csv file.

::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::

:::::::::::::::::::::::::::::::::::::::: questions
::::::::::::::::::::::::::::::::::::::: questions

- What are dplyr and tidyr?
- How can I select specific rows and/or columns from a dataframe?
- How can I combine multiple commands into a single command?
- How can I create new columns or remove existing columns from a dataframe?

::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::

# Data manipulation using **`dplyr`** and **`tidyr`**

Expand Down

0 comments on commit f94862c

Please sign in to comment.