forestgeo / bciex

Easy access to data for examples -- from Barro Colorado Island, Panama.
https://forestgeo.github.io/bciex/
Other
1 stars 1 forks source link

Data sets from BCI for examples

lifecycle CRAN
status

Installation

Install all fgeo packages in one step

# install.packages("remotes")
remotes::install_github("forestgeo/bciex")

For details on how to install packages from GitHub, see this article.

Example

library(bciex)

# Mini dataset of 1000 randomly selected trees from BCI; data realeased in 2012
str(bci12t1mini)
#> 'data.frame':    1000 obs. of  20 variables:
#>  $ treeID   : int  858 1083 1129 2143 2388 3431 4448 5877 6487 7132 ...
#>  $ stemID   : int  1 1 1 1 1 1 1 1 1 1 ...
#>  $ tag      : chr  "000851" "001080" "001127" "002147" ...
#>  $ StemTag  : chr  "" NA "" "" ...
#>  $ sp       : chr  "apeime" "alchco" "quaras" "beilpe" ...
#>  $ quadrat  : chr  "4402" "4314" "4308" "3715" ...
#>  $ gx       : num  899 873 867 744 724 ...
#>  $ gy       : num  42 284 163 305 447 ...
#>  $ MeasureID: int  856 1083 1129 2150 2397 3446 4466 5922 6545 7197 ...
#>  $ CensusID : int  1 1 1 1 1 1 1 1 1 1 ...
#>  $ dbh      : num  598 807 503 181 366 491 233 492 305 184 ...
#>  $ pom      : chr  "1.3" "1.3" "1.3" "1.3" ...
#>  $ hom      : num  1.3 1.3 1.3 1.3 1.3 ...
#>  $ ExactDate: chr  "1981-05-03" "1981-07-01" "1981-05-26" "1981-07-18" ...
#>  $ DFstatus : chr  "alive" "alive" "alive" "alive" ...
#>  $ codes    : chr  NA NA NA NA ...
#>  $ nostems  : num  1 1 1 1 1 1 1 1 1 1 ...
#>  $ date     : num  7793 7852 7816 7869 7884 ...
#>  $ status   : chr  "A" "A" "A" "A" ...
#>  $ agb      : num  2.07 4.204 2.028 0.163 0.838 ...

Get started

Information

Acknowledgements

Thanks to Suzanne Lao and Shameema Jafferjee Esufali for facilitating data and for answering my questions.