Skip to content

Commit

Permalink
Remove status (#1527)
Browse files Browse the repository at this point in the history
* Remove status

* Remove status, no other changes

* Leave a note about how to use status()

* Remove status + visual editor made some changes

* Remove backticks added by visual editor

* Remove whitespaces
  • Loading branch information
mine-cetinkaya-rundel authored Jul 13, 2023
1 parent 3c75c0d commit 02651ef
Show file tree
Hide file tree
Showing 34 changed files with 63 additions and 97 deletions.
3 changes: 1 addition & 2 deletions EDA.qmd
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# Exploratory data analysis {#sec-exploratory-data-analysis}

```{r}
#| results: "asis"
#| echo: false
source("_common.R")
status("complete")
```

## Introduction
Expand Down
1 change: 1 addition & 0 deletions _common.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ options(

ggplot2::theme_set(ggplot2::theme_gray(12))

# use results: "asis" when setting a status for a chapter
status <- function(type) {
status <- switch(type,
polishing = "should be readable but is currently undergoing final polishing",
Expand Down
3 changes: 1 addition & 2 deletions arrow.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ freeze: true
# Arrow {#sec-arrow}

```{r}
#| results: "asis"
#| echo: false
source("_common.R")
status("complete")
```

## Introduction
Expand Down
2 changes: 0 additions & 2 deletions base-R.qmd
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# A field guide to base R {#sec-base-r}

```{r}
#| results: "asis"
#| echo: false
source("_common.R")
status("complete")
```

## Introduction
Expand Down
2 changes: 1 addition & 1 deletion communicate.qmd
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Communicate {#sec-communicate-intro .unnumbered}

```{r}
#| results: "asis"
#| echo: false
source("_common.R")
```

Expand Down
3 changes: 1 addition & 2 deletions communication.qmd
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# Communication {#sec-communication}

```{r}
#| results: "asis"
#| echo: false
source("_common.R")
status("complete")
```

## Introduction
Expand Down
2 changes: 0 additions & 2 deletions data-import.qmd
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# Data import {#sec-data-import}

```{r}
#| results: "asis"
#| echo: false
source("_common.R")
status("complete")
```

## Introduction
Expand Down
2 changes: 0 additions & 2 deletions data-tidy.qmd
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# Data tidying {#sec-data-tidy}

```{r}
#| results: "asis"
#| echo: false
source("_common.R")
status("complete")
```

## Introduction
Expand Down
2 changes: 0 additions & 2 deletions data-transform.qmd
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# Data transformation {#sec-data-transform}

```{r}
#| results: "asis"
#| echo: false
source("_common.R")
status("complete")
```

## Introduction
Expand Down
2 changes: 0 additions & 2 deletions data-visualize.qmd
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# Data visualization {#sec-data-visualization}

```{r}
#| results: "asis"
#| echo: false
source("_common.R")
status("complete")
```

## Introduction
Expand Down
4 changes: 2 additions & 2 deletions databases.qmd
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# Databases {#sec-import-databases}

```{r}
#| results: "asis"
#| echo: false
source("_common.R")
status("complete")
```

## Introduction
Expand All @@ -29,6 +28,7 @@ DBI is a low-level interface that connects to databases and executes SQL; dbplyr
```{r}
#| label: setup
#| message: false
library(DBI)
library(dbplyr)
library(tidyverse)
Expand Down
3 changes: 1 addition & 2 deletions datetimes.qmd
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# Dates and times {#sec-dates-and-times}

```{r}
#| results: "asis"
#| echo: false
source("_common.R")
status("complete")
# https://github.com/tidyverse/lubridate/issues/1058
options(warnPartialMatchArgs = FALSE)
Expand Down
3 changes: 1 addition & 2 deletions factors.qmd
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# Factors {#sec-factors}

```{r}
#| results: "asis"
#| echo: false
source("_common.R")
status("complete")
```

## Introduction
Expand Down
3 changes: 1 addition & 2 deletions functions.qmd
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# Functions {#sec-functions}

```{r}
#| results: "asis"
#| echo: false
source("_common.R")
status("complete")
```

## Introduction
Expand Down
2 changes: 1 addition & 1 deletion import.qmd
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Import {#sec-import .unnumbered}

```{r}
#| results: "asis"
#| echo: false
source("_common.R")
```

Expand Down
2 changes: 1 addition & 1 deletion intro.qmd
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Introduction {#sec-intro}

```{r}
#| results: "asis"
#| echo: false
source("_common.R")
```

Expand Down
2 changes: 0 additions & 2 deletions iteration.qmd
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# Iteration {#sec-iteration}

```{r}
#| results: "asis"
#| echo: false
source("_common.R")
status("complete")
```

## Introduction
Expand Down
3 changes: 1 addition & 2 deletions joins.qmd
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# Joins {#sec-joins}

```{r}
#| results: "asis"
#| echo: false
source("_common.R")
status("complete")
```

## Introduction
Expand Down
20 changes: 10 additions & 10 deletions layers.qmd
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# Layers {#sec-layers}

```{r}
#| results: "asis"
#| echo: false
source("_common.R")
status("complete")
```

## Introduction
Expand Down Expand Up @@ -1005,14 +1003,16 @@ There are two other coordinate systems that are occasionally helpful.

We can expand on the graphing template you learned in @sec-ggplot2-calls by adding position adjustments, stats, coordinate systems, and faceting:

ggplot(data = <DATA>) +
<GEOM_FUNCTION>(
mapping = aes(<MAPPINGS>),
stat = <STAT>,
position = <POSITION>
) +
<COORDINATE_FUNCTION> +
<FACET_FUNCTION>
```
ggplot(data = <DATA>) +
<GEOM_FUNCTION>(
mapping = aes(<MAPPINGS>),
stat = <STAT>,
position = <POSITION>
) +
<COORDINATE_FUNCTION> +
<FACET_FUNCTION>
```

Our new template takes seven parameters, the bracketed words that appear in the template.
In practice, you rarely need to supply all seven parameters to make a graph because ggplot2 will provide useful defaults for everything except the data, the mappings, and the geom function.
Expand Down
2 changes: 0 additions & 2 deletions logicals.qmd
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# Logical vectors {#sec-logicals}

```{r}
#| results: "asis"
#| echo: false
source("_common.R")
status("complete")
```

## Introduction
Expand Down
3 changes: 1 addition & 2 deletions missing-values.qmd
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# Missing values {#sec-missing-values}

```{r}
#| results: "asis"
#| echo: false
source("_common.R")
status("complete")
```

## Introduction
Expand Down
2 changes: 0 additions & 2 deletions numbers.qmd
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# Numbers {#sec-numbers}

```{r}
#| results: "asis"
#| echo: false
source("_common.R")
status("complete")
```

## Introduction
Expand Down
2 changes: 0 additions & 2 deletions quarto-formats.qmd
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# Quarto formats {#sec-quarto-formats}

```{r}
#| results: "asis"
#| echo: false
source("_common.R")
status("complete")
```

## Introduction
Expand Down
4 changes: 1 addition & 3 deletions quarto.qmd
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# Quarto {#sec-quarto}

```{r}
#| results: "asis"
#| echo: false
source("_common.R")
status("complete")
```

## Introduction
Expand Down Expand Up @@ -118,7 +116,7 @@ This will display the report in the viewer pane as shown in @fig-diamond-sizes-r
knitr::include_graphics("quarto/diamond-sizes-report.png")
```

When you render the document, Quarto sends the `.qmd` file to **knitr**, [https://yihui.org/knitr/](https://yihui.org/knitr/){.uri}, which executes all of the code chunks and creates a new markdown (`.md`) document which includes the code and its output.
When you render the document, Quarto sends the `.qmd` file to **knitr**, <https://yihui.org/knitr/>, which executes all of the code chunks and creates a new markdown (`.md`) document which includes the code and its output.
The markdown file generated by knitr is then processed by **pandoc**, [https://pandoc.org](https://pandoc.org/){.uri}, which is responsible for creating the finished file.
This process is shown in @fig-quarto-flow.
The advantage of this two step workflow is that you can create a very wide range of output formats, as you'll learn about in @sec-quarto-formats.
Expand Down
3 changes: 1 addition & 2 deletions rectangling.qmd
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# Hierarchical data {#sec-rectangling}

```{r}
#| results: "asis"
#| echo: false
source("_common.R")
status("complete")
```

## Introduction
Expand Down
3 changes: 1 addition & 2 deletions regexps.qmd
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# Regular expressions {#sec-regular-expressions}

```{r}
#| results: "asis"
#| echo: false
source("_common.R")
status("complete")
```

## Introduction
Expand Down
2 changes: 0 additions & 2 deletions spreadsheets.qmd
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# Spreadsheets {#sec-import-spreadsheets}

```{r}
#| results: "asis"
#| echo: false
source("_common.R")
status("complete")
```

## Introduction
Expand Down
2 changes: 0 additions & 2 deletions strings.qmd
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# Strings {#sec-strings}

```{r}
#| results: "asis"
#| echo: false
source("_common.R")
status("complete")
```

## Introduction
Expand Down
3 changes: 1 addition & 2 deletions visualize.qmd
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# Visualize {#sec-visualize .unnumbered}

```{r}
#| results: "asis"
#| echo: false
source("_common.R")
status("complete")
```

After reading the first part of the book, you understand (at least superficially) the most important tools for doing data science.
Expand Down
3 changes: 1 addition & 2 deletions webscraping.qmd
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# Web scraping {#sec-scraping}

```{r}
#| results: "asis"
#| echo: false
source("_common.R")
status("complete")
```

## Introduction
Expand Down
Loading

0 comments on commit 02651ef

Please sign in to comment.