Skip to content

Commit

Permalink
Fixing duplicate infomation on downloading data in literate analysis …
Browse files Browse the repository at this point in the history
…example
  • Loading branch information
camilavargasp committed Feb 27, 2024
1 parent 888edc9 commit 17a940b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
20 changes: 9 additions & 11 deletions materials/sections/r-intro-quarto.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -223,24 +223,22 @@ Hitting return does not execute this command; remember, it's just a text file. T

Now that we have gone over the basics, let's go a little deeper by building a simple, Quarto document that represents a literate analysis using real data. We are going to work with the seawater chemistry data. We are going to download a file named `BGchem2008data.csv` from the Arctic Data Center repository. Please follow the steps below to download the data and then upload to your RStudio Server `data` folder.

::: callout-tip
## Setup

- Navigate to the following dataset: <https://doi.org/10.18739/A25T3FZ8X>
- Download the file `BGchem2008data.csv`
- Click the "Upload" button in your RStudio server file browser.
- In the dialog box, make sure the destination directory is the `data` directory in your R project, click "Choose File," and locate the `BGchem2008data.csv` file. Press "OK" to upload the file.
- Check your file was successfully uploaded by navigating into your `data` folder in the **Files** pane.
:::

### Getting Started

::: callout-tip
#### Download a file from the Arctic Data Center
#### Set up

1. Navigate to this dataset by Craig Tweedie that is published on the Arctic Data Center. [Craig Tweedie. 2009. North Pole Environmental Observatory Bottle Chemistry. Arctic Data Center. doi:10.18739/A25T3FZ8X.](http://doi.org/10.18739/A25T3FZ8X)

2. Download the first csv file called `BGchem2008data.csv` by clicking the "download" button next to the file.
3. Move this file from your `Downloads` folder into the `data` directory we created in our R Project `training_{USERNAME}`.

3. Click the "Upload" button in your RStudio server file browser.

3. In the dialog box, make sure the destination directory is the `data` directory in your R project, click "Choose File," and locate the `BGchem2008data.csv` file. Press "OK" to upload the file.

4. Check your file was successfully uploaded by navigating into your `data` folder in the **Files** pane.
:::
:::

Experienced R users who have never used Quarto (or RMarkdown) often struggle a bit in the transition to developing analysis in Prose+Code format --- which makes sense! It is switching the code paradigm to a new way of thinking.
Expand Down
2 changes: 1 addition & 1 deletion materials/session_02.qmd
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "RStudio & git Setup"
title: "RStudio & Git Setup"
title-block-banner: true

---
Expand Down
1 change: 0 additions & 1 deletion materials/session_03.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ title: "Literate Analysis with Quarto"
title-block-banner: true
---


{{< include /sections/r-intro-quarto.qmd >}}

0 comments on commit 17a940b

Please sign in to comment.