Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dieghernan committed Mar 11, 2024
1 parent 7680548 commit bc82abb
Show file tree
Hide file tree
Showing 14 changed files with 55 additions and 25 deletions.
10 changes: 5 additions & 5 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -----------------------------------------------------------
# CITATION file created with {cffr} R package, v0.5.0
# CITATION file created with {cffr} R package, v0.99.0.9000
# See also: https://docs.ropensci.org/cffr/
# -----------------------------------------------------------

Expand Down Expand Up @@ -62,11 +62,10 @@ references:
url: https://www.R-project.org/
authors:
- name: R Core Team
location:
name: Vienna, Austria
year: '2024'
institution:
name: R Foundation for Statistical Computing
address: Vienna, Austria
year: '2024'
version: '>= 3.6.0'
- type: software
title: cli
Expand Down Expand Up @@ -163,8 +162,9 @@ references:
- family-names: Dunnington
given-names: Dewey
orcid: https://orcid.org/0000-0002-9415-4582
- family-names: van den Brand
- family-names: Brand
given-names: Teun
name-particle: van den
orcid: https://orcid.org/0000-0002-9335-7468
year: '2024'
version: '>= 3.5.0'
Expand Down
6 changes: 3 additions & 3 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ questions](https://img.shields.io/stackexchange/stackoverflow/t/tidyterra?logo=s
[![Works with
terra-devel](https://github.com/dieghernan/tidyterra/actions/workflows/check-terra-devel.yaml/badge.svg)](https://github.com/dieghernan/tidyterra/actions/workflows/check-terra-devel.yaml)
[![Works with
sf-devel](https://github.com/dieghernan/tidyterra/actions/workflows/check-sf-devel.yaml/badge.svg)](https://github.com/dieghernan/tidyterra/actions/workflows/check-sd-devel.yaml)
sf-devel](https://github.com/dieghernan/tidyterra/actions/workflows/check-sf-devel.yaml/badge.svg)](https://github.com/dieghernan/tidyterra/actions/workflows/check-sf-devel.yaml)
[![Works with
ggplot2-devel](https://github.com/dieghernan/tidyterra/actions/workflows/check-ggplot2-devel.yaml/badge.svg)](https://github.com/dieghernan/tidyterra/actions/workflows/check-ggplot2-devel.yaml)
[![Works with dplyr and
Expand Down Expand Up @@ -97,7 +97,7 @@ example, `as_tibble()` would return a `tibble`).
Current methods and functions provided by **tidyterra** are:

| tidyverse method | `SpatVector` | `SpatRaster` |
|--------------------|--------------------|----------------------------------------|
|---------------------|---------------------|---------------------------------------|
| `tibble::as_tibble()` | ✔️ | ✔️ |
| `dplyr::select()` | ✔️ | ✔️ Select layers |
| `dplyr::mutate()` | ✔️ | ✔️ Create /modify layers |
Expand Down Expand Up @@ -320,7 +320,7 @@ Software](https://joss.theoj.org/):
> package. *Journal of Open Source Software*, *8*(91), 5751,
> <https://doi.org/10.21105/joss.05751>.
A BibTeX entry for LaTeX users is
A BibTeX entry for LaTeX users is:

```{r echo=FALSE, comment=""}
toBibtex(citation("tidyterra"))
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ questions](https://img.shields.io/stackexchange/stackoverflow/t/tidyterra?logo=s
[![Works with
terra-devel](https://github.com/dieghernan/tidyterra/actions/workflows/check-terra-devel.yaml/badge.svg)](https://github.com/dieghernan/tidyterra/actions/workflows/check-terra-devel.yaml)
[![Works with
sf-devel](https://github.com/dieghernan/tidyterra/actions/workflows/check-sf-devel.yaml/badge.svg)](https://github.com/dieghernan/tidyterra/actions/workflows/check-sd-devel.yaml)
sf-devel](https://github.com/dieghernan/tidyterra/actions/workflows/check-sf-devel.yaml/badge.svg)](https://github.com/dieghernan/tidyterra/actions/workflows/check-sf-devel.yaml)
[![Works with
ggplot2-devel](https://github.com/dieghernan/tidyterra/actions/workflows/check-ggplot2-devel.yaml/badge.svg)](https://github.com/dieghernan/tidyterra/actions/workflows/check-ggplot2-devel.yaml)
[![Works with dplyr and
Expand Down Expand Up @@ -338,7 +338,7 @@ Open Source Software](https://joss.theoj.org/):
> tidyterra package. *Journal of Open Source Software*, *8*(91), 5751,
> <https://doi.org/10.21105/joss.05751>.
A BibTeX entry for LaTeX users is
A BibTeX entry for LaTeX users is:

@Article{R-tidyterra,
title = {Using the {tidyverse} with {terra} objects: the {tidyterra} package},
Expand Down
4 changes: 2 additions & 2 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@
"SystemRequirements": null
},
"keywords": ["r", "terra", "ggplot-extension", "r-spatial", "rspatial", "r-package", "rstats", "rstats-package", "cran", "cran-r"],
"fileSize": "2266.208KB",
"fileSize": "2264.763KB",
"citation": [
{
"@type": "ScholarlyArticle",
Expand Down Expand Up @@ -352,6 +352,6 @@
],
"releaseNotes": "https://github.com/dieghernan/tidyterra/blob/master/NEWS.md",
"readme": "https://github.com/dieghernan/tidyterra/blob/main/README.md",
"contIntegration": ["https://github.com/dieghernan/tidyterra/actions/workflows/check-full.yaml", "https://app.codecov.io/gh/dieghernan/tidyterra", "https://github.com/dieghernan/tidyterra/actions/workflows/check-terra-devel.yaml", "https://github.com/dieghernan/tidyterra/actions/workflows/check-sd-devel.yaml", "https://github.com/dieghernan/tidyterra/actions/workflows/check-ggplot2-devel.yaml", "https://github.com/dieghernan/tidyterra/actions/workflows/check-dplyr-readr.yaml"],
"contIntegration": ["https://github.com/dieghernan/tidyterra/actions/workflows/check-full.yaml", "https://app.codecov.io/gh/dieghernan/tidyterra", "https://github.com/dieghernan/tidyterra/actions/workflows/check-terra-devel.yaml", "https://github.com/dieghernan/tidyterra/actions/workflows/check-sf-devel.yaml", "https://github.com/dieghernan/tidyterra/actions/workflows/check-ggplot2-devel.yaml", "https://github.com/dieghernan/tidyterra/actions/workflows/check-dplyr-readr.yaml"],
"developmentStatus": "https://www.repostatus.org/#active"
}
17 changes: 9 additions & 8 deletions pkgdown/_pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ reference:
- title: dplyr methods
desc: >
Methods from <a href="https://CRAN.R-project.org/package=dplyr"
class="external-link"><span class="pkg">dplyr</span></a>
class="external-link"><span class="pkg">dplyr</span></a>
implemented for `Spat*` objects.
- subtitle: Rows
desc: |
Expand All @@ -73,38 +73,38 @@ reference:
contents: has_concept("dplyr.groups")
- subtitle: "`SpatVector` and Data frames"
desc: >
Verbs that principally operate on pairs of `Spat*` and
Verbs that principally operate on pairs of `Spat*` and
data frames.
contents: has_concept("dplyr.pairs")

- title: tidyr methods
desc: >
Methods from <a href="https://CRAN.R-project.org/package=tidyr"
class="external-link"><span class="pkg">tidyr</span></a>
class="external-link"><span class="pkg">tidyr</span></a>
implemented for `Spat*` objects.
- subtitle: Pivoting
description: >
Pivoting changes the representation of a `SpatVector` object,
Pivoting changes the representation of a `SpatVector` object,
without changing the data inside of it.
contents: has_concept("tidyr.pivot")
- subtitle: Missing values
description: >
Tools for converting between implicit (absent rows) and
Tools for converting between implicit (absent rows) and
explicit (`NA`) missing values, handling explicit `NA`s.
contents: has_concept("tidyr.missing")

- title: ggplot2 methods
desc: >
Methods from <a href="https://CRAN.R-project.org/package=ggplot2"
class="external-link"><span class="pkg">ggplot2</span></a>
class="external-link"><span class="pkg">ggplot2</span></a>
implemented for `Spat*` objects.
contents: has_concept("ggplot2.methods")

- title: ggplot2 utils
- subtitle: Geoms
desc: >
Create <a href="https://CRAN.R-project.org/package=ggplot2"
class="external-link"><span class="pkg">ggplot2</span></a>
class="external-link"><span class="pkg">ggplot2</span></a>
layers for `Spat*` objects.
contents: starts_with("geom_")
- subtitle: Scales
Expand All @@ -118,7 +118,7 @@ reference:
class="external-link"><span class="pkg">tidyterra</span></a>.
- subtitle: Coercing objects
desc: >
Convert Spat* to other type of objects or create `SpatRasters`
Convert Spat* to other type of objects or create `SpatRasters`
from tibbles.
contents: has_concept("coerce")
- subtitle: Other helpers
Expand All @@ -131,3 +131,4 @@ reference:
authors:
Diego Hernangómez:
href: https://dieghernan.github.io/

8 changes: 4 additions & 4 deletions vignettes/articles/INPUBS.bib
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ @article{bahlburg2023
number = 7,
pages = {1--29},
doi = {10.1371/journal.pone.0286036},
url = {https://doi.org/10.1371/journal.pone.0286036},
url = {https://doi.org/10.1371/journal.pone.0286036}
}
@phdthesis{chavez_sonoran_2023,
title = {Sonoran {Desert} {Ex} {Situ} {Conservation} {Gap} {Analysis}: {Charting} the {Path} {Toward} {Conservation}.},
Expand Down Expand Up @@ -109,7 +109,7 @@ @article{turner2024
pages = 4,
doi = {10.1038/s44183-023-00040-8},
issn = {2731-426X},
url = {https://doi.org/10.1038/s44183-023-00040-8},
url = {https://doi.org/10.1038/s44183-023-00040-8}
}
@article{KEMPF2024,
title = {A dataset to model {Levantine} landcover and land-use change connected to climate change, the {Arab Spring} and {COVID-19}},
Expand All @@ -121,7 +121,7 @@ @article{KEMPF2024
doi = {10.1016/j.dib.2024.110198},
issn = {2352-3409},
url = {https://www.sciencedirect.com/science/article/pii/S2352340924001690},
keywords = {Built-up change, Climate change, Migration, Land degradation, Drought, Jordan},
keywords = {Built-up change, Climate change, Migration, Land degradation, Drought, Jordan}
}
@article{https://doi.org/10.1002/2688-8319.12315,
title = {Active management is required to regenerate the {Caledonian} forest: {Alladale} as a case study},
Expand All @@ -135,7 +135,7 @@ @article{https://doi.org/10.1002/2688-8319.12315
url = {https://besjournals.onlinelibrary.wiley.com/doi/abs/10.1002/2688-8319.12315},
note = {e12315 ESO-23-10-108.R1},
keywords = {conservation decision-making, ecosystem restoration, herbivore, passive, reforestation, rewilding},
eprint = {https://besjournals.onlinelibrary.wiley.com/doi/pdf/10.1002/2688-8319.12315},
eprint = {https://besjournals.onlinelibrary.wiley.com/doi/pdf/10.1002/2688-8319.12315}
}
@article{Marcantonio2024.02.07.579266,
title = {The {rasterdiv} package for measuring diversity from space},
Expand Down
31 changes: 30 additions & 1 deletion vignettes/articles/wild.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,35 @@ csl: apa.csl
nocite: '@*'
---

**tidyterra** package has been used in the following publications:
Please cite **tidyterra** as:

Hernangómez, D., (2023). Using the tidyverse with terra objects: the tidyterra
package. *Journal of Open Source Software*, *8*(91), 5751,
<https://doi.org/10.21105/joss.05751>.

A BibTeX entry for LaTeX users is:

``` bib
@article{Hernangómez2023,
doi = {10.21105/joss.05751},
url = {https://doi.org/10.21105/joss.05751},
year = {2023},
publisher = {The Open Journal},
volume = {8},
number = {91},
pages = {5751},
author = {Diego Hernangómez},
title = {Using the tidyverse with terra objects: the tidyterra package},
journal = {Journal of Open Source Software}
}
```

**tidyterra** package has been used in the following publications[^1].

[^1]: Sadly not all the publications has used the **tidyterra**
[doi:10.21105/joss.05751](https://doi.org/10.21105/joss.05751) so the number
of citations of **tidyterra** in several databases is much lower. This list
of publications include pieces of work produced with **tidyterra** even if
the package has not been correctly referenced.

## Publications
Binary file modified vignettes/contourfilled-1.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 modified vignettes/contourlines-1.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 modified vignettes/faceted-1.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 modified vignettes/hypso-1.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 modified vignettes/lux_ggplot-1.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 modified vignettes/rgb-1.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 modified vignettes/spatraster-example1-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit bc82abb

Please sign in to comment.