Skip to content

Commit

Permalink
Merge pull request #71 from RobLBaker/master
Browse files Browse the repository at this point in the history
Add images to bibliography documentation
  • Loading branch information
RobLBaker authored Feb 9, 2024
2 parents 9aff72a + c03b338 commit 97d3b88
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 20 deletions.
Binary file added docs/articles/RMD_vis_source.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/articles/R_citation_manager.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions docs/articles/Using-the-DRR-Template.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ articles:
DRR_Purpose_and_Scope: DRR_Purpose_and_Scope.html
Starting-a-DRR: Starting-a-DRR.html
Using-the-DRR-Template: Using-the-DRR-Template.html
last_built: 2024-02-09T19:12Z
last_built: 2024-02-09T20:36Z

21 changes: 15 additions & 6 deletions inst/rmarkdown/templates/NPS_DRR/skeleton/skeleton.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,23 @@ csl: national-park-service-DRR.csl
---

```{=html}
<!--- For more information on using this template, please see the accompanying documentation at:
<!--- Welcome to the NPS Data Release Report Template!
Overview of DRR Templates: https://nationalparkservice.github.io/DRR_Template/
For more information on using this template, please see the accompanying documentation at:
Overview of DRR Templates:
https://nationalparkservice.github.io/QCkit/articles/DRR_Purpose_and_Scope.html
How to access this template initiate a DRR:
https://nationalparkservice.github.io/QCkit/articles/Starting-a-DRR.html
Specific Instructions on filling out this template:
https://nationalparkservice.github.io/DRR_Template/HowToUseThisTemplate.html
https://nationalparkservice.github.io/QCkit/articles/Using-the-DRR-Template.html
--->
```

```{r user_edited_parameterss, include=FALSE}
# The title of your DRR. Should all DRR start with "Data Release Report:"? Should we enforce titles specifically referencing the data package(s) they the report is about?
# The title of your DRR. Should all DRR start with "Data Release Report:"? Should we enforce titles specifically referencing the data package(s) the Report is about?
title <- "DRR Title"
# Optional and should only be included if publishing to the semi-official DRR series. Contact Joe if you are. If not, leave as NULL
Expand Down Expand Up @@ -47,14 +54,16 @@ authorNames <- c(
#Note that the entirety of each affiliation is enclosed in quotations. Do not worry about indentation or word wrapping.
authorAffiliations <- c(
"NPS Inventory and Monitoring Division, 1201 Oakridge Dr., Suite 150, Fort Collins, Colorado",
"NPS Inventory and Monitoring Division, 1201 Oakridge Dr., Suite 150, Fort Collins, Colorado",
"Managed Business Solutions (MBS), a Sealaska Company, Contractor to the National Park Service, Natural Resource Stewardship and Science Directorate, 1201 Oakridge Dr., Suite 150, Fort Collins, Colorado",
"Managed Business Solutions (MBS), a Sealaska Company, Contractor to the National Park Service, Natural Resource Stewardship and Science Directorate, 1201 Oakridge Dr., Suite 150, Fort Collins, Colorado"
)
# List the ORCID iDs for each author in the format "(xxxx-xxxx-xxxx-xxxx)". If an author does not have an ORCID iD, specify NA (no quotes). If an author is listed more than once (for instance because they have multiple institutional affiliations), the ORCID iD must also be listed more than once. For more information on ORCID iDs and to register an ORCID iD, see https://www.orcid.org.
#The order of the ORCID iDs must match the order of authors in AuthorNames.In this example, Jane Doe has an ORCID iD but John Doe does not. Jane's ORCID iD is listed twice because she her name is listed twice in authorNames(because she has two authorAffiliations).
# The order of the ORCID iDs must match the order of authors in AuthorNames.In this example, Jane Doe has an ORCID iD but John Doe does not. Jane's ORCID iD is listed twice because she her name is listed twice in authorNames(because she has two authorAffiliations).
authorORCID <- c(
"(0000-1111-2222-3333)", "(0000-1111-2222-3333)", NA
)
Expand Down
Binary file added vignettes/articles/RMD_vis_source.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added vignettes/articles/R_citation_manager.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 4 additions & 13 deletions vignettes/articles/Using-the-DRR-Template.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@
title: "Using the DRR Template"
---

---
title: "Using the DRR Template"
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{Using the DRR Template}
%\VignetteEnging{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---

```{r setup, include=FALSE}
RRpackages <- c('markdown', # links to Sundown rendering library
'rmarkdown', # newer rendering via pandoc
Expand Down Expand Up @@ -218,12 +209,12 @@ automatically insert the bibtex for the reference into your
references.bib file (and customize the unique identifier if you'd like)
and insert the in-text citation into the DRR template.

```{r fig2, echo=FALSE, out.width="75%", fig.align="center", fig.cap="Adding Citations - Source vs. Visual editing of the Template and how to access the citation manager."}
#knitr::include_graphics("RMD_vis_source.png")
```{r fig2, echo=FALSE, out.width="50%", out.height="50%", fig.align="center", fig.cap="Adding Citations - Source vs. Visual editing of the Template and how to access the citation manager."}
knitr::include_graphics("RMD_vis_source.png")
```

```{r fig3, echo=FALSE, out.width="75%", fig.align="center", fig.cap="Adding Citations - Using the citation manager."}
#knitr::include_graphics("R_citation_manager.png")
```{r fig3, echo=FALSE, out.width="50%", out.width="50%", fig.align="center", fig.cap="Adding Citations - Using the citation manager."}
knitr::include_graphics("R_citation_manager.png")
```

Once a reference is in your references.bib file, using the Visual view
Expand Down

0 comments on commit 97d3b88

Please sign in to comment.