Installation

Install the pre-release version of fgeo.data:

# install.packages("devtools")
devtools::install_github("forestgeo/fgeo.data@pre-release")

Or install the development version of fgeo.data:

# install.packages("devtools")
devtools::install_github("forestgeo/fgeo.data")

Or install all fgeo packages in one step.

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

Example

library(fgeo.data)

str(data_dictionary)
#> Classes 'tbl_df', 'tbl' and 'data.frame':    242 obs. of  3 variables:
#>  $ table      : chr  "Census" "Census" "Census" "Census" ...
#>  $ column     : chr  "CensusID" "PlotID" "PlotCensusNumber" "StartDate" ...
#>  $ description: chr  "Primary key, an integer  automatically generated to uniquely identify a census." "Foreign Key to Site table." "Integer census number for an individual plot, 1=first census, 2=second census, etc. If there are more than one "| __truncated__ "Date on which the first measurement of the census was taken." ...

str(luquillo_tree5_random)
#> Classes 'tbl_df', 'tbl' and 'data.frame':    1000 obs. of  19 variables:
#>  $ treeID   : int  104 119 180 602 631 647 1086 1144 1168 1380 ...
#>  $ stemID   : int  143 158 225 736 775 793 1339 1410 1438 114352 ...
#>  $ tag      : chr  "10009" "100104" "100171" "100649" ...
#>  $ StemTag  : chr  "10009" "100104" "100174" "100649" ...
#>  $ sp       : chr  "DACEXC" "MYRSPL" "CASARB" "GUAGUI" ...
#>  $ quadrat  : chr  "113" "1021" "921" "821" ...
#>  $ gx       : num  10.3 182.9 164.6 149 38.3 ...
#>  $ gy       : num  245 410 410 414 245 ...
#>  $ MeasureID: int  439947 466597 466623 466727 439989 466743 440021 466889 440031 466957 ...
#>  $ CensusID : int  5 5 5 5 5 5 5 5 5 5 ...
#>  $ dbh      : num  193 40.4 45 33 140 246 176 74 604 NA ...
#>  $ pom      : chr  "1.4" "1.25" "1.3" "1.3" ...
#>  $ hom      : num  1.4 1.26 1.32 1.3 1.24 1.25 1.45 1.3 1.31 NA ...
#>  $ ExactDate: Date, format: "2011-11-02" "2012-02-06" ...
#>  $ DFstatus : chr  "alive" "alive" "alive" "alive" ...
#>  $ codes    : chr  "MAIN;A" "MAIN;A" "SPROUT;A" "MAIN;A" ...
#>  $ nostems  : num  1 1 2 1 1 1 1 1 1 2 ...
#>  $ status   : chr  "A" "A" "A" "A" ...
#>  $ date     : num  18933 19029 19026 19024 18933 ...

str(luquillo_elevation)
#> List of 4
#>  $ col :Classes 'tbl_df', 'tbl' and 'data.frame':    6565 obs. of  3 variables:
#>   ..$ x   : int [1:6565] 0 0 0 0 0 0 0 0 0 0 ...
#>   ..$ y   : int [1:6565] 0 5 10 15 20 25 30 35 40 45 ...
#>   ..$ elev: num [1:6565] 364 364 363 363 363 ...
#>  $ mat : num [1:101, 1:65] 364 364 363 363 363 ...
#>  $ xdim: int 320
#>  $ ydim: int 500

Get started with fgeo