https://github.com/sustainscapes/sdmworkflows
Package for downloading, cleaning coordinates, and modeling sdms
https://github.com/sustainscapes/sdmworkflows
biodiversity r rpackage
Last synced: 8 months ago
JSON representation
Package for downloading, cleaning coordinates, and modeling sdms
- Host: GitHub
- URL: https://github.com/sustainscapes/sdmworkflows
- Owner: Sustainscapes
- License: gpl-3.0
- Created: 2023-01-09T08:40:52.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-05-07T20:16:21.000Z (about 3 years ago)
- Last Synced: 2024-01-29T13:21:36.696Z (over 2 years ago)
- Topics: biodiversity, r, rpackage
- Language: R
- Homepage: https://sustainscapes.github.io/SDMWorkflows/
- Size: 418 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE.md
Awesome Lists containing this project
README
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# SDMWorkflows
[](https://github.com/Sustainscapes/SDMWorkflows/actions/workflows/R-CMD-check.yaml)
The goal of SDMWorkflows is to make a workflow for Species distribution models for Sustainscapes
## Installation
You can install the development version of SDMWorkflows like so:
``` r
remotes::install_github("Sustainscapes/SDMWorkflows")
```
## Example
This is a basic example which shows you how to solve a common problem:
```{r example}
library(SDMWorkflows)
## basic example code
```
We will start by generating a list of species to be checked
```{r SppeciesCheck}
Spp <- c("Abies concolor", "Abies lowiana", "Canis lupus", "Cannis lupus")
```
In this case we have four taxa to check, however we know that *Abies concolor* and *Abies lowiana* are synonyms for the accepted name of *Abies concolor* and that the second version of *Canis lupus* is badly written, it would be expected that the `Clean_Taxa()` function will recognize that there are only 2 species here and return a data frame with these together with their taxonomy resolution,
```{r}
Final_List <- Clean_Taxa(Spp)
```
Which yields the following table, the resolved species is the Species Column
```{r, echo = F}
knitr::kable(Final_List)
```