-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.Rmd
52 lines (35 loc) · 1.26 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# rWCVP <a href="https://matildabrown.github.io/rWCVP/"><img src="man/figures/logo.png" align="right" height="276" /></a>
<!-- badges: start -->
<!-- badges: start -->
[![R-CMD-check](https://github.com/matildabrown/rWCVP/workflows/R-CMD-check/badge.svg)](https://github.com/matildabrown/rWCVP/actions)
<!-- badges: end -->
<!-- badges: end -->
rWCVP is a package for accessing and using plant name and distribution data from the [World Checklist of Vascular Plants](https://powo.science.kew.org//)
## Installation
You can install the development version of rWCVP from [GitHub](https://github.com/) with:
``` r
# install.packages("remotes")
devtools::install_github("matildabrown/rWCVP")
```
## Example
rWCVP makes it easy to get and plot the known distribution of plant species.
```{r example, eval=FALSE}
library(rWCVP)
distribution <- wcvp_distribution("Myrcia guianensis", taxon_rank = "species")
# global map
wcvp_distribution_map(distribution)
# zoomed-in map
wcvp_distribution_map(distribution, crop_map = TRUE)
```