Skip to content

Commit 4f6b8ae

Browse files
authored
Merge pull request #68 from lter/dev
First Pass at SSECR Course Structure Updates
2 parents aaedf76 + 988c573 commit 4f6b8ae

263 files changed

Lines changed: 6082 additions & 6111 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"hash": "9ef9330a30f687316c9ee84cb58b8fb9",
3+
"result": {
4+
"engine": "knitr",
5+
"markdown": ":::{.callout-note icon=\"false\"}\n#### Activity: Data Sleuth\n\nIn this activity, you'll play the role of data detective. You will have many potential datasets to look through. It is important to do it correctly, but you likely won't need or want to develop boutique code to examine each dataset, especially since some may be discarded after an initial pass.\n\nAs a project team, discuss the following points:\n\n1. Decide on a structure for tracking results of exploratory data checks\n - Git issues? Additional columns in your team-data-inventory google sheet? Something else?\n - Draft a list of 'generic checks' you would want to apply to each dataset before inclusion in your synthesis\n2. Use the `summarytools` and/or `datacleanr` packages to explore one exemplar dataset that you intend to include in your project\n - Discuss any issues you discover\n - Create a \"to do\" list for the exemplar dataset that details additional steps needed to make that dataset analysis ready (e.g. remove 1993 due to incomplete sampling, convert concentrations from mmols to mg/L, contact dataset providers to ask about anomalous values in April 2021)\n - Note we will work on skills to **implement** these steps in the [Data Wrangling module](https://lter.github.io/ssecr/mod_wrangle.html) in a few weeks.\n - Revise the list of 'generic checks' for remaining datasets as necessary\n3. If you choose to save any images and/or code you used in your exploratory data visualization, decide on a naming convention and storage location\n - Will you add these files to your `.gitignore` or do you plan on committing them?\n4. What additional plots would you ideally make that are not available through these generic tools?\n\n::::{.panel-tabset}\n##### `summarytools` Package\n\n\n::: {.cell}\n\n```{.r .cell-code}\n# Load the library\nlibrary(summarytools)\n\n# Load data\ndataset_1 <- read_csv(\"your_file_name_here.csv\")\n\n# View the data in your Rstudio environment\nsummarytools::view(summarytools::dfSummary(dataset_1), footnote = NA) # <1>\n\n# Alternatively,save the results for viewing later, or to share with your team\nprint(summarytools::dfSummary(dataset_1), footnote = NA,\n file = 'dataset_01_summary.html')\n```\n:::\n\n1. Careful! Use lowercase 'v' in the `view` function of the `summarytools` package\n\n##### `datacleanr` Package\n\n\n::: {.cell}\n\n```{.r .cell-code}\n# Load the library\nlibrary(datacleanr)\n\n# Load data\ndataset_1 <- read_csv(\"your_file_name_here.csv\")\n\n# Launch the shiny app and view the data interactively\ndatacleanr::dcr_app(dataset_1)\n```\n:::\n\n\n::::\n\n<br>\n\nBoth of these packages have extensive vignettes and online instructional materials. See [here](https://cran.r-project.org/web/packages/summarytools/vignettes/introduction.html) for one from `summarytools` and [here](https://the-hull.github.io/datacleanr/) for one from `datacleanr`.\n\n:::\n",
6+
"supporting": [],
7+
"filters": [
8+
"rmarkdown/pagebreak.lua"
9+
],
10+
"includes": {},
11+
"engineDependencies": {},
12+
"preserve": {},
13+
"postProcess": true
14+
}
15+
}

_freeze/mod_data-disc/execute-results/html.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

_freeze/mod_data-viz/execute-results/html.json

Lines changed: 0 additions & 17 deletions
This file was deleted.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-106 KB
Binary file not shown.
-194 KB
Binary file not shown.
-191 KB
Binary file not shown.
-199 KB
Binary file not shown.

0 commit comments

Comments
 (0)