-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME.Rmd
81 lines (61 loc) · 1.87 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
---
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%"
)
```
# EMBSeCBIO
<!-- <img src="documentation/embsecbio/inst/images/logo.png" alt="logo" align="right" height=200px/> -->
<!-- badges: start -->
`r badger::badge_devel("special-uor/embsecbio", "yellow")`
`r badger::badge_cran_release("embsecbio", "black")`
`r badger::badge_github_actions("special-uor/embsecbio")`
<!-- badges: end -->
The goal of EMBSeCBIO is to provide functions to work with the Eastern Mediterranean-Black Sea-Caspian-Corridor region and biome reconstructions database.
## Installation
You can(not) install the released version of EMBSeCBIO from [CRAN](https://CRAN.R-project.org) with:
``` r
# install.packages("embsecbio")
```
And the development version from [GitHub](https://github.com/) with:
``` r
# install.packages("devtools")
devtools::install_github("special-uor/embsecbio")
```
## Example
Obtain the top 10 sites and their corresponding metadata:
```{r}
`%>%` <- magrittr::`%>%`
embsecbio::site %>%
dplyr::slice(1:10) %>%
knitr::kable()
```
Obtain the top 10 entities and their corresponding metadata:
```{r}
`%>%` <- magrittr::`%>%`
embsecbio::entity %>%
dplyr::slice(1:10) %>%
knitr::kable()
```
Find entities linked to sites:
```{r}
`%>%` <- magrittr::`%>%`
ents <- embsecbio::site %>%
dplyr::slice(1:4) %>%
embsecbio::get_entities()
ents %>%
knitr::kable()
```
<!-- This is a basic example which shows you how to solve a common problem: -->
<!-- ```{r example} -->
<!-- library(embsecbio) -->
<!-- ## basic example code -->
<!-- ``` -->
## Datasets
1. Harrison, Sandy and Marinova, Elena (2017): EMBSeCBIO modern pollen biomisation. University of Reading. Dataset. http://dx.doi.org/10.17864/1947.109