8000 GitHub - NCEAS/vegbank-web: VegBank web application
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

NCEAS/vegbank-web

Repository files navigation

VegBank Web: A Web App for Vegetation Plot Data

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

Documentation is a work in progress, and can be found ...

Development build

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).

License

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.

Acknowledgements

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.

nceas_footer

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages

0