-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
78 lines (56 loc) · 2.01 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
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r setup, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# allometrydata
Allometry data storage for the BWG.
## Installation
```{r, eval = FALSE}
devtools::install_github("SrivastavaLab/allometrydata")
```
## Data Access
Allometry data can be accessed directly using this package.
Access the most recent version on GitHub.
```{r, eval = FALSE}
allometrydata::alldata()
```
List the versions available online:
```{r}
allometrydata::alldata_versions(local = FALSE)
```
List the versions available on your computer:
```{r}
allometrydata::alldata_versions()
```
For help:
```{r}
?allometrydata::alldata()
```
## Data Versions
See [releases](https://github.com/SrivastavaLab/allometrydata/releases) for the
most recent versions of the data.
## Data Update
Data may be updated by an administrator by connecting to your local Dropbox
folder: `CommunityAnalysis/Allometry`. The function `update_data` will
compile any new XLS files from the Allometry folder with the most recent version
of the data on GitHub. The dataset is saved locally and can be uploaded as a new
data release.
Data updates keep the original data largely as is, with a few exceptions:
1) Only the following expected columns are retained: `bwg_name`, `name`,
`length_mm`, `wet_mass_mg`, `dry_mass_mg`, `length_measured_as`,
`number_of_individuals`, `stage`, `size_category`, `instar_number`
2) Two columns are added to better describe the data. `file` gives the filename
from which the line of data came. `type` distinguishes between measurements
gathered in the field (`field_measurement`) and entries used to define a size
category by giving a corresponding length (`category_definition`). Notably, data
that fall into the `category_definition` type do not include biomass
measurements as they do not represent an actual measurement.
3) Any blanks are converted to `NA`