-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.Rmd
71 lines (44 loc) · 2.35 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
---
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%"
)
```
# bdffpRain
<!-- badges: start -->
[![R build status](https://github.com/BrunaLab/BDFFP-precipitation/workflows/R-CMD-check/badge.svg)](https://github.com/BrunaLab/BDFFP-precipitation/actions)
[![DOI](https://zenodo.org/badge/271884316.svg)](https://zenodo.org/badge/latestdoi/271884316)
<!-- badges: end -->
**Translation**: So far I have only translated documentation with Google Scholar, so I would appreciate help translating from English to Portuguese or correcting any mistranslations!
*[Versão em português](https://github.com/BrunaLab/BDFFP-precipitation/blob/master/README.pt-BR.md)*
This repository houses the `bdffpRain` package and the raw data and wrangling code used to produce the `bdffp_rain` (English) and `pdbff_chuva` (Portuguese) datasets.
## The R package
The `bdffpRain` R package contains cleaned daily precipitation data from 8 rain gauges at the Biological Dynamics of Forest Fragments Project between 1987 and 2010.
To install the package run:
``` r
install.packages("remotes")
remotes::install_github("BrunaLab/bdffpRain")
```
The data is in `bdffp_rain`, which looks like this:
```{r}
library(bdffpRain)
data("bdffp_rain")
head(bdffp_rain)
```
Check the help file for detailed metadata with `?bdffp_rain`.
## Raw data and wrangling code
If you are interested in the raw data or the code used to clean and wrangle those data, you can fork this repository, or download it with the green "Code" button on this page.
You'll find the raw data in a series of .XLS files in the `"data_raw"` directory and annotated wrangling code in the `"wrangling"` directory.
## Data usage
If you wish to use this data for a publication, please cite:
<!-- insert zenodo citation -->
The vignette for the package shows an example of how to use imputation to "fill in" missing observations and produce a complete dataset that can be used to produce figures and summary statistics for monthly precipitation at BDFFP.
Additionally, there is old, probably broken code in the `"notes"` directory that may be useful.
## Contributing
If you find mistakes or issues or would like to suggest improvements, please file an issue.