An open API service indexing awesome lists of open source software.

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

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

[![R-CMD-check](https://github.com/Sustainscapes/SDMWorkflows/actions/workflows/R-CMD-check.yaml/badge.svg)](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)
```