-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update slides and lesson file structure
- Loading branch information
Showing
8 changed files
with
165 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,22 @@ | ||
{ | ||
"title": "An Introduction to Writing Reproducible Manuscripts Using RMarkdown", | ||
"creators": [ | ||
"title": "An Introduction to Writing Reproducible Manuscripts Using RMarkdown", | ||
"creators": [ | ||
{ | ||
"affiliation": "University of Florida", | ||
"name": "Hao Ye", | ||
"orcid": "0000-0002-8630-1458" | ||
} | ||
], | ||
"description": "RMarkdown is a versatile document format that can combine text, R code, figures, and tables together in a single document, and create formatted output as PDFs, MS Word files, slides, websites, and more. This workshop will provide a basic introduction to using RMarkdown, how to insert code, tables, figures, and format references, and an overview of the possible output formats.", | ||
"keywords": [ | ||
], | ||
"description": "RMarkdown is a versatile document format that can combine text, R code, figures, and tables together in a single document, and create formatted output as PDFs, MS Word files, slides, websites, and more. This workshop will provide a basic introduction to using RMarkdown, how to insert code, tables, figures, and format references, and an overview of the possible output formats.", | ||
"keywords": [ | ||
"Open Educational Resources", | ||
"Research Support Skills", | ||
"Reproducible Report", | ||
"Literate Programming", | ||
"R Markdown" | ||
"R Markdown", | ||
"Workshop" | ||
], | ||
"access_right": "open", | ||
"license": "CC-BY-4.0", | ||
"upload_type": "lesson" | ||
"access_right": "open", | ||
"license": "CC-BY-4.0", | ||
"upload_type": "lesson" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
--- | ||
output: github_document | ||
--- | ||
|
||
<!-- README.md is generated from README.Rmd. Please edit that file --> | ||
|
||
```{r, include = FALSE} | ||
knitr::opts_chunk$set( | ||
collapse = TRUE, | ||
comment = "#>", | ||
fig.path = "man/figures/README-", | ||
out.width = "100%" | ||
) | ||
``` | ||
|
||
```{r, include = FALSE} | ||
lesson_title <- "An Introduction to Writing Reproducible Manuscripts Using RMarkdown" | ||
lesson_description <- "RMarkdown is a versatile document format that can combine text, R code, figures, and tables together in a single document, and create formatted output as PDFs, MS Word files, slides, websites, and more. This workshop will provide a basic introduction to using RMarkdown, how to insert code, tables, figures, and format references, and an overview of the possible output formats." | ||
lesson_keywords <- c("Open Educational Resources", | ||
"Research Support Skills", | ||
"Reproducible Report", | ||
"Literate Programming", | ||
"R Markdown", | ||
"Workshop") | ||
desc::desc_set(Title = lesson_title, | ||
Description = lesson_description) | ||
zenodo_json <- jsonlite::read_json(".zenodo.json") | ||
zenodo_json$title <- lesson_title | ||
zenodo_json$description <- lesson_description | ||
zenodo_json$keywords <- as.list(lesson_keywords) | ||
jsonlite::write_json(zenodo_json, ".zenodo.json", | ||
auto_unbox = TRUE, pretty = TRUE) | ||
``` | ||
|
||
# `r lesson_title` | ||
|
||
<!-- badges: start --> | ||
[](https://github.com/uf-repro/rmarkdown-intro/actions?query=workflow%3Apkgdown) | ||
[](https://zenodo.org/badge/latestdoi/277827412) | ||
<!-- badges: end --> | ||
|
||
## Description | ||
|
||
`r lesson_description` | ||
|
||
## Learning Outcomes | ||
|
||
```{r, include = FALSE} | ||
learning_outcomes <- c("describe the principles of reproducible documents", | ||
"apply markdown syntax to format text", | ||
"run code chunks in R Markdown", | ||
"format tables in R Markdown", | ||
"generate figures in R Markdown", | ||
"format references in R Markdown") | ||
outcomes_text <- paste0("* ", learning_outcomes, collapse = "\n") | ||
desc::desc_set("learningOutcomes", outcomes_text) | ||
``` | ||
|
||
By the end of the workshop, participants will be able to: | ||
|
||
`r outcomes_text` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,31 @@ | ||
|
||
<!-- README.md is generated from README.Rmd. Please edit that file --> | ||
|
||
# An Introduction to Writing Reproducible Manuscripts Using RMarkdown | ||
|
||
<!-- badges: start --> | ||
[](https://github.com/uf-repro/rmarkdown-intro/actions?query=workflow%3Apkgdown) | ||
|
||
[](https://github.com/uf-repro/rmarkdown-intro/actions?query=workflow%3Apkgdown) | ||
[](https://zenodo.org/badge/latestdoi/277827412) | ||
<!-- badges: end --> | ||
|
||
## Description | ||
|
||
RMarkdown is a versatile document format that can combine text, R code, figures, and tables together in a single document, and create formatted output as PDFs, MS Word files, slides, websites, and more. This workshop will provide a basic introduction to using RMarkdown, how to insert code, tables, figures, and format references, and an overview of the possible output formats. | ||
RMarkdown is a versatile document format that can combine text, R code, | ||
figures, and tables together in a single document, and create formatted | ||
output as PDFs, MS Word files, slides, websites, and more. This workshop | ||
will provide a basic introduction to using RMarkdown, how to insert | ||
code, tables, figures, and format references, and an overview of the | ||
possible output formats. | ||
|
||
## Learning Outcomes | ||
|
||
By the end of the workshop, participants will be able to: | ||
* describe the principles of reproducible documents | ||
* apply markdown syntax to format text | ||
* run code chunks in R Markdown | ||
* format tables in R Markdown | ||
* generate figures in R Markdown | ||
* format references in R Markdown | ||
|
||
## References | ||
|
||
- describe the principles of reproducible documents | ||
- apply markdown syntax to format text | ||
- run code chunks in R Markdown | ||
- format tables in R Markdown | ||
- generate figures in R Markdown | ||
- format references in R Markdown |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters