Skip to content

Commit 97d3b88

Browse files
authored
Merge pull request nationalparkservice#71 from RobLBaker/master
Add images to bibliography documentation
2 parents 9aff72a + c03b338 commit 97d3b88

File tree

8 files changed

+31
-20
lines changed

8 files changed

+31
-20
lines changed

docs/articles/RMD_vis_source.png

59.1 KB
Loading

docs/articles/R_citation_manager.png

49.9 KB
Loading

docs/articles/Using-the-DRR-Template.html

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/pkgdown.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ articles:
55
DRR_Purpose_and_Scope: DRR_Purpose_and_Scope.html
66
Starting-a-DRR: Starting-a-DRR.html
77
Using-the-DRR-Template: Using-the-DRR-Template.html
8-
last_built: 2024-02-09T19:12Z
8+
last_built: 2024-02-09T20:36Z
99

inst/rmarkdown/templates/NPS_DRR/skeleton/skeleton.Rmd

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,23 @@ csl: national-park-service-DRR.csl
77
---
88

99
```{=html}
10-
<!--- For more information on using this template, please see the accompanying documentation at:
10+
<!--- Welcome to the NPS Data Release Report Template!
1111
12-
Overview of DRR Templates: https://nationalparkservice.github.io/DRR_Template/
12+
For more information on using this template, please see the accompanying documentation at:
13+
14+
Overview of DRR Templates:
15+
https://nationalparkservice.github.io/QCkit/articles/DRR_Purpose_and_Scope.html
16+
17+
How to access this template initiate a DRR:
18+
https://nationalparkservice.github.io/QCkit/articles/Starting-a-DRR.html
1319
1420
Specific Instructions on filling out this template:
15-
https://nationalparkservice.github.io/DRR_Template/HowToUseThisTemplate.html
21+
https://nationalparkservice.github.io/QCkit/articles/Using-the-DRR-Template.html
1622
--->
1723
```
24+
1825
```{r user_edited_parameterss, include=FALSE}
19-
# 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?
26+
# 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?
2027
title <- "DRR Title"
2128
2229
# Optional and should only be included if publishing to the semi-official DRR series. Contact Joe if you are. If not, leave as NULL
@@ -47,14 +54,16 @@ authorNames <- c(
4754
4855
#Note that the entirety of each affiliation is enclosed in quotations. Do not worry about indentation or word wrapping.
4956
authorAffiliations <- c(
50-
"NPS Inventory and Monitoring Division, 1201 Oakridge Dr., Suite 150, Fort Collins, Colorado",
57+
"NPS Inventory and Monitoring Division, 1201 Oakridge Dr., Suite 150, Fort Collins, Colorado",
58+
5159
"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",
60+
5261
"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"
5362
)
5463
5564
# 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.
5665
57-
#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).
66+
# 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).
5867
authorORCID <- c(
5968
"(0000-1111-2222-3333)", "(0000-1111-2222-3333)", NA
6069
)

vignettes/articles/RMD_vis_source.png

59.1 KB
Loading
49.9 KB
Loading

vignettes/articles/Using-the-DRR-Template.Rmd

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,6 @@
22
title: "Using the DRR Template"
33
---
44

5-
---
6-
title: "Using the DRR Template"
7-
output: rmarkdown::html_vignette
8-
vignette: >
9-
%\VignetteIndexEntry{Using the DRR Template}
10-
%\VignetteEnging{knitr::rmarkdown}
11-
%\VignetteEncoding{UTF-8}
12-
---
13-
145
```{r setup, include=FALSE}
156
RRpackages <- c('markdown', # links to Sundown rendering library
167
'rmarkdown', # newer rendering via pandoc
@@ -218,12 +209,12 @@ automatically insert the bibtex for the reference into your
218209
references.bib file (and customize the unique identifier if you'd like)
219210
and insert the in-text citation into the DRR template.
220211

221-
```{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."}
222-
#knitr::include_graphics("RMD_vis_source.png")
212+
```{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."}
213+
knitr::include_graphics("RMD_vis_source.png")
223214
```
224215

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

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

0 commit comments

Comments
 (0)