Example

library(bci)
?bci
str(bci12full7)

Installation

If you are authorized (via Stuart Davies), you can install BCI from ForestGEO’s private GitHub repo.

To install from a private repo, use auth_token with a token from https://github.com/settings/tokens. You only need the repo scope. Best practice is to save your PAT in env var called GITHUB_PAT.

?devtools::install_github

The master branch of bci contains many large data sets, so it takes long to download and install. If you need data from only a few censuses, you may install only some data from specific branches. The branches are named censusYY_M-N, where YY indicates the census release-year and M-N indicates all censuses from M to N.

# install.packages("devtools")

# To install all data sets may take several minutes
devtools::install_github("forestgeo/bci", auth_token = "<YOUR_TOKEN>")

# To install only some data sets is faster
# e.g. all data released in 2012 from census 1 through 2
devtools::install_github(
  "forestgeo/bci@census12_1-2", 
  auth_token = "<YOUR_TOKEN>"
)
library(bci)

To check the available branches visit https://github.com/forestgeo/bci/branches; all branches contain the species table, and the elevation and habitat data.

Acknowledgement

The BCI forest dynamics research project was founded by S.P. Hubbell and R.B. Foster and is now managed by R. Condit, S. Lao, and R. Perez under the Center for Tropical Forest Science and the Smithsonian Tropical Research in Panama. Numerous organizations have provided funding, principally the U.S. National Science Foundation, and hundreds of field workers have contributed.

References

CTFS package

Hubbell, S.P., Condit, R., and Foster, R.B. 2010. Barro Colorado Forest Census Plot Data. URL.

Condit, R. 1998. Tropical Forest Census Plots. Springer-Verlag and R. G. Landes Company, Berlin, Germany, and Georgetown, Texas.

Hubbell, S.P., R.B. Foster, S.T. O’Brien, K.E. Harms, R. Condit, B. Wechsler, S.J. Wright, and S. Loo de Lao. 1999. Light gap disturbances, recruitment limitation, and tree diversity in a neotropical forest. Science 283: 554-557.