-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.Rmd
129 lines (80 loc) · 2.42 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
---
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%"
)
```
# framrosetta
<!-- badges: start -->
<!-- badges: end -->
`framrosetta` is a data library of look up tables for translating FRAM fisheries, stocks, and areas to other fishery data. `framrosetta` is part of the [FRAMverse R-Universe](https://framverse.r-universe.dev/packages).
## Installation
You can install `framrosetta` from R-Universe like so:
```r
install.packages("framrosetta", repos = "https://framverse.r-universe.dev")
```
Otherwise, if you have Rtools and either `{devtools}` or `{pak}` installed, you can
install `framrosetta` from source code like so:
```r
devtools::install_github("FRAMverse/framrosetta")
```
or
```r
pak::pkg_install("FRAMverse/framrosetta")
```
```{r}
library(framrosetta)
```
## Table summaries
`framrosetta` contains the following tables for translating FRAM fisheries, stocks, and areas to other fishery data or human readable formats:
### `rmis_fram`
Translating between FRAM and RMIS.
```{r, results = 'asis'}
knitr::kable(head(rmis_fram, 5))
```
### `tocas_fram`
Translating between FRAM and TOCAS.
```{r, results = 'asis'}
knitr::kable(head(tocas_fram, 5))
```
### `waft_fram`
Translating between WAFT and FRAM.
```{r, results = 'asis'}
knitr::kable(head(waft_fram, 5))
```
### `stock_chinook_fram`
Translating between Chinook stock IDs and human-readable names.
```{r, results = 'asis'}
knitr::kable(head(stock_chinook_fram, 5))
```
### `stock_coho_fram`
Translating between Coho stock IDs and human-readable names.
```{r, results = 'asis'}
knitr::kable(head(stock_coho_fram, 5))
```
### `fishery_chinook_fram`
Translating between Chinook fishery IDs and human-readable names.
```{r, results = 'asis'}
knitr::kable(head(fishery_chinook_fram, 5))
```
### `fishery_coho_fram`
Translating between Coho fishery IDs and human-readable names.
```{r, results = 'asis'}
knitr::kable(head(fishery_coho_fram, 5))
```
### `timestep_chinook_fram`
Translating between Chinook time-step IDs and human-readable names.
```{r, results = 'asis'}
knitr::kable(head(timestep_chinook_fram, 5))
```
### `timestep_coho_fram`
Translating between Coho time-step IDs and human-readable names.
```{r, results = 'asis'}
knitr::kable(head(timestep_coho_fram, 5))
```