Make syntax for multi-line fig-cap and fig-alt consistent
This commit is contained in:
@@ -54,9 +54,9 @@ For the rest of the chapter we will focus on using `read_excel()`.
|
||||
#| label: fig-students-excel
|
||||
#| echo: false
|
||||
#| fig-width: 5
|
||||
#| fig-cap: >
|
||||
#| fig-cap: |
|
||||
#| Spreadsheet called students.xlsx in Excel.
|
||||
#| fig-alt: >
|
||||
#| fig-alt: |
|
||||
#| A look at the students spreadsheet in Excel. The spreadsheet contains
|
||||
#| information on 6 students, their ID, full name, favourite food, meal plan,
|
||||
#| and age.
|
||||
@@ -189,9 +189,9 @@ Each worksheet contains information on penguins from a different island where da
|
||||
```{r}
|
||||
#| label: fig-penguins-islands
|
||||
#| echo: false
|
||||
#| fig-cap: >
|
||||
#| fig-cap: |
|
||||
#| Spreadsheet called penguins.xlsx in Excel containing three worksheets.
|
||||
#| fig-alt: >
|
||||
#| fig-alt: |
|
||||
#| A look at the penguins spreadsheet in Excel. The spreadsheet contains has
|
||||
#| three worksheets: Torgersen Island, Biscoe Island, and Dream Island.
|
||||
|
||||
@@ -252,9 +252,9 @@ Since many use Excel spreadsheets for presentation as well as for data storage,
|
||||
```{r}
|
||||
#| label: fig-deaths-excel
|
||||
#| echo: false
|
||||
#| fig-cap: >
|
||||
#| fig-cap: |
|
||||
#| Spreadsheet called deaths.xlsx in Excel.
|
||||
#| fig-alt: >
|
||||
#| fig-alt: |
|
||||
#| A look at the deaths spreadsheet in Excel. The spreadsheet has four rows
|
||||
#| on top that contain non-data information; the text 'For the same of
|
||||
#| consistency in the data layout, which is really a beautiful thing, I will
|
||||
@@ -360,9 +360,9 @@ These can be turned off by setting `col_names` and `format_headers` arguments to
|
||||
#| label: fig-bake-sale-excel
|
||||
#| echo: false
|
||||
#| fig-width: 5
|
||||
#| fig-cap: >
|
||||
#| fig-cap: |
|
||||
#| Spreadsheet called bake_sale.xlsx in Excel.
|
||||
#| fig-alt: >
|
||||
#| fig-alt: |
|
||||
#| Bake sale data frame created earlier in Excel.
|
||||
|
||||
knitr::include_graphics("screenshots/import-spreadsheets-bake-sale.png")
|
||||
@@ -395,7 +395,7 @@ A good way of familiarizing yourself with the coding style used in a new package
|
||||
```{r}
|
||||
#| echo: false
|
||||
#| fig-width: 4
|
||||
#| fig-alt: >
|
||||
#| fig-alt: |
|
||||
#| A spreadsheet with 3 columns (group, subgroup, and id) and 12 rows.
|
||||
#| The group column has two values: 1 (spanning 7 merged rows) and 2
|
||||
#| (spanning 5 merged rows). The subgroup column has four values: A
|
||||
@@ -428,7 +428,7 @@ A good way of familiarizing yourself with the coding style used in a new package
|
||||
```{r}
|
||||
#| echo: false
|
||||
#| fig-width: 4
|
||||
#| fig-alt: >
|
||||
#| fig-alt: |
|
||||
#| A spreadsheet with 3 columns (group, subgroup, and id) and 12 rows. The
|
||||
#| group column has two values: 1 (spanning 7 merged rows) and 2 (spanning
|
||||
#| 5 merged rows). The subgroup column has four values: A (spanning 3 merged
|
||||
@@ -456,7 +456,7 @@ A good way of familiarizing yourself with the coding style used in a new package
|
||||
|
||||
```{r}
|
||||
#| echo: false
|
||||
#| fig-alt: >
|
||||
#| fig-alt: |
|
||||
#| A spreadsheet with 2 columns and 13 rows. The first two rows have text
|
||||
#| containing information about the sheet. Row 1 says "This file contains
|
||||
#| information on sales". Row 2 says "Data are organized by brand name, and
|
||||
@@ -543,9 +543,9 @@ This is the same dataset as in @fig-students-excel, except it's stored in a Goog
|
||||
```{r}
|
||||
#| label: fig-students-googlesheets
|
||||
#| echo: false
|
||||
#| fig-cap: >
|
||||
#| fig-cap: |
|
||||
#| Google Sheet called students in a browser window.
|
||||
#| fig-alt: >
|
||||
#| fig-alt: |
|
||||
#| A look at the students spreadsheet in Google Sheets. The spreadsheet contains
|
||||
#| information on 6 students, their ID, full name, favourite food, meal plan,
|
||||
#| and age.
|
||||
|
||||
Reference in New Issue
Block a user