Skip to content

Commit

Permalink
Add DOI
Browse files Browse the repository at this point in the history
  • Loading branch information
dieghernan committed May 23, 2022
1 parent 307f04f commit 8e17196
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 14 deletions.
10 changes: 6 additions & 4 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ type: software
license: MIT
title: 'tidyterra: ''tidyverse'' Methods and ''ggplot2'' Utils for ''terra'' Objects'
version: 0.1.0
doi: 10.5281/zenodo.6572471
abstract: Extension of the 'tidyverse' for 'SpatRaster' and 'SpatVector' objects of
the 'terra' package. It includes also new 'geom_' functions that provide a convenient
way of visualizing 'terra' objects with 'ggplot2'.
Expand All @@ -19,18 +20,19 @@ authors:
orcid: https://orcid.org/0000-0001-8457-4658
preferred-citation:
type: manual
title: 'tidyterra: ''tidyverse'' Methods and ''ggplot2'' Utils for ''terra'' Objects'
title: 'tidyterra: tidyverse Methods and ggplot2 Utils for terra Objects'
authors:
- family-names: Hernangómez
given-names: Diego
email: [email protected]
orcid: https://orcid.org/0000-0001-8457-4658
doi: 10.5281/zenodo.6572471
year: '2022'
version: 0.1.0
url: https://dieghernan.github.io/tidyterra/
abstract: Extension of the 'tidyverse' for 'SpatRaster' and 'SpatVector' objects
of the 'terra' package. It includes also new 'geom_' functions that provide a
convenient way of visualizing 'terra' objects with 'ggplot2'.
abstract: Extension of the tidyverse for SpatRaster and SpatVector objects of the
terra package. It includes also new geom_ functions that provide a convenient
way of visualizing terra objects with ggplot2.
repository-code: https://github.com/dieghernan/tidyterra
url: https://dieghernan.github.io/tidyterra/
contact:
Expand Down
3 changes: 2 additions & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ knitr::opts_chunk$set(
[![R-CMD-check](https://github.com/dieghernan/tidyterra/actions/workflows/check-full.yaml/badge.svg)](https://github.com/dieghernan/tidyterra/actions/workflows/check-full.yaml)
[![codecov](https://codecov.io/gh/dieghernan/tidyterra/branch/main/graph/badge.svg?token=blvDmRjcfb)](https://app.codecov.io/gh/dieghernan/tidyterra)
[![r-universe](https://dieghernan.r-universe.dev/badges/tidyterra)](https://dieghernan.r-universe.dev/)
[![DOI](https://img.shields.io/badge/DOI-10.5281/zenodo.6572471-blue)](https://doi.org/10.5281/zenodo.6572471)
[![Project Status: Active – The project has reached a stable, usable state and
is being actively
developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
Expand Down Expand Up @@ -60,7 +61,7 @@ example, `as_tibble()` would return a tibble).
Current methods and functions provided by {tidyterra} are:

| tidyverse method | SpatVector | SpatRaster |
|-----------------------|----------------------------------------|----------------------------------------------------------------------------------------------------------------|
|-----------------|-----------------|-----------------------------------------------|
| `tibble::as_tibble()` | :heavy_check_mark: | :heavy_check_mark: |
| `dplyr::select()` | :heavy_check_mark: | :heavy_check_mark: Select layers |
| `dplyr::mutate()` | :heavy_check_mark: | :heavy_check_mark: Create /modify layers |
Expand Down
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
[![R-CMD-check](https://github.com/dieghernan/tidyterra/actions/workflows/check-full.yaml/badge.svg)](https://github.com/dieghernan/tidyterra/actions/workflows/check-full.yaml)
[![codecov](https://codecov.io/gh/dieghernan/tidyterra/branch/main/graph/badge.svg?token=blvDmRjcfb)](https://app.codecov.io/gh/dieghernan/tidyterra)
[![r-universe](https://dieghernan.r-universe.dev/badges/tidyterra)](https://dieghernan.r-universe.dev/)
[![DOI](https://img.shields.io/badge/DOI-10.5281/zenodo.6572471-blue)](https://doi.org/10.5281/zenodo.6572471)
[![Project Status: Active – The project has reached a stable, usable
state and is being actively
developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
Expand Down Expand Up @@ -220,18 +221,21 @@ or open an issue on <https://github.com/dieghernan/tidyterra/issues>.

To cite ‘tidyterra’ in publications use:

Hernangómez D (2022). *tidyterra: ‘tidyverse’ Methods and ‘ggplot2’
Utils for ‘terra’ Objects*. <https://dieghernan.github.io/tidyterra/>.
Hernangómez D (2022). *tidyterra: tidyverse Methods and ggplot2 Utils
for terra Objects*. <doi:10.5281/zenodo.6572471>
<https://doi.org/10.5281/zenodo.6572471>,
<https://dieghernan.github.io/tidyterra/>.

A BibTeX entry for LaTeX users is

@Manual{R-tidyterra,
title = {{tidyterra}: 'tidyverse' Methods and 'ggplot2' Utils for 'terra' Objects},
title = {{tidyterra}: tidyverse Methods and ggplot2 Utils for terra Objects},
doi = {10.5281/zenodo.6572471},
author = {Diego Hernangómez},
year = {2022},
version = {0.1.0},
url = {https://dieghernan.github.io/tidyterra/},
abstract = {Extension of the 'tidyverse' for 'SpatRaster' and 'SpatVector' objects of the 'terra' package. It includes also new 'geom_' functions that provide a convenient way of visualizing 'terra' objects with 'ggplot2'.},
abstract = {Extension of the tidyverse for SpatRaster and SpatVector objects of the terra package. It includes also new geom_ functions that provide a convenient way of visualizing terra objects with ggplot2.},
}

## Acknowledgements
Expand Down
9 changes: 6 additions & 3 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@
},
"SystemRequirements": null
},
"fileSize": "1474.531KB",
"fileSize": "1474.791KB",
"citation": [
{
"@type": "SoftwareSourceCode",
Expand All @@ -318,8 +318,11 @@
"familyName": "Hernangómez"
}
],
"name": "{tidyterra}: 'tidyverse' Methods and 'ggplot2' Utils for 'terra' Objects",
"url": "https://dieghernan.github.io/tidyterra/"
"name": "{tidyterra}: tidyverse Methods and ggplot2 Utils for terra Objects",
"identifier": "10.5281/zenodo.6572471",
"url": "https://dieghernan.github.io/tidyterra/",
"@id": "https://doi.org/10.5281/zenodo.6572471",
"sameAs": "https://doi.org/10.5281/zenodo.6572471"
}
],
"releaseNotes": "https://github.com/dieghernan/tidyterra/blob/master/NEWS.md",
Expand Down
5 changes: 3 additions & 2 deletions inst/CITATION
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
year <- format(Sys.time(), "%Y")
abs <- trimws(gsub("\\s+", " ", meta$Description))
abs <- gsub("'", "", abs)

bibentry(
"Manual",
header = paste0("To cite '", meta$Package, "' in publications use:"),
title = paste("{tidyterra}:", meta$Title),

title = paste("{tidyterra}:", gsub("'", "", meta$Title)),
doi = "10.5281/zenodo.6572471",
author = c(person("Diego", "Hernangómez")),
year = year,
version = meta$Version,
Expand Down

0 comments on commit 8e17196

Please sign in to comment.