vignettes/siteonly/document_data.Rmd
document_data.RmdThis section sets conventions to document datasets in the fgeo.data package. This makes it easier to understand the existing datasets and provides some structure to facilitate the expansion of fgeo.data.
Generic datasets (e.g. ViewFullTable) should have these components:
generic_description with the following (e.g. ?vft_description):
@seealso, linking to specific datasets and to the data_dictionary.Datasets from a specific site should be named with the format site_generic_info:
site should be a single string uniquely identifying your site among all other sites in the ForestGEO network; it may be a well known nickname (e.g. luquillo).generic should be one of the same as in generic_description.
info should be a single short string indicating the most prominent characteristic of the specific dataset – commonly referring to the criteria used to subset a larger dataset (e.g. luquillo_stem6_random).
For example, if your data comes from Luquillo, and it is a ViewFullTable containing a random subset of a few trees, a good name for it would be luquillo_vft_random. This format works well with auto-completion in RStudio.

The documentation of site_generic_info should include the following (e.g. ?luquillo_vft_random):
@seealso, linking to generic_description and to the data_dictionary.@examples showing the structure of site_generic_info.