- Authors: Gill, Darian; Regetz, Jim (0009-0008-2666-6229);
- License: Apache 2
- Package source code on GitHub
- Submit Bugs and feature requests
This package is an web access point for VegBank, the vegetation plot database of the Ecological Society of America's Panel on Vegetation Classification, hosted by the National Center for Ecological Analysis and Synthesis (NCEAS). VegBank contains vegetation plot data, community types recognized by the U.S. National Vegetation Classification and others, and all ITIS/USDA plant taxa along with other taxa recorded in plot records. As a VegBank API client, the 'vegbankweb' package supports browsing, searching, inspecting, and downloading vegetation plot records and other supporting information to and from the VegBank database.
VegBank in general, and the vegbankweb package in particular, are open source, community projects. We welcome contributions in many forms, including code, data, documentation, bug reports, testing, etc. Use the VegBank discussions to discuss these contributions with us.
Documentation is a work in progress, and can be found ...
This is a Shiny App built using the Shiny R package.
The app is currently configured to read from a local file or hit an api running on kubernetes for data. If you don't have access to kubernetes you ask a team member for the all_states_plot_obs.json file, place it in your www directory, and can revise the server.R
code read its path.
To run the app locally with full access to the api, you'll need to connect to the dev-vegbank
kubernetes context and port forward the vegbankdb pod with a rotating name (not the postgresql pod) as follows:
Note: your pod name will be different from this example command.
~ % kubectl config use-context dev-vegbank
~ % kubectl get pods
(Sample pod name output)
NAME READY STATUS RESTARTS AGE
vegbankdb-5d796654c4-wrdzf 1/1 Running 0 28h
vegbankdb-postgresql-0 1/1 Running 0 28h
~ % kubectl port-forward vegbankdb-5d796654c4-wrdzf 28015:80
Once the API pod is port-forwarded you can run the app in the R environment of your choice (RStudio, VsCode with the Shiny extension, and seem to be popular options).
Copyright [2025] [Regents of the University of California]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Work on this package was supported by:
- The National Center for Ecological Analysis and Synthesis, a Center funded by the University of California, Santa Barbara, and the State of California.