This Shiny app provides a user-friendly interface for monitoring vegetation data. The app is designed to help analyze and visualize various ecological datasets.
-
Clone the repository:
git clone https://github.com/inyo-gov/inyoShiny.git cd inyoShiny
-
Open the project in RStudio:
- Double-click on the
inyoShiny.Rproj
file to open the project in RStudio. This will ensure all project settings and working directories are correctly configured.
- Double-click on the
-
Install the required libraries in R:
install.packages(c("shiny", "tidyverse", "here", "crosstalk", "plotly", "janitor", "sf", "leaflet", "DT"))
-
Run the app in RStudio:
- In the RStudio Console, run:
shiny::runApp()
To reproduce and test the app:
-
Ensure you have cloned the repository and opened the
.Rproj
file in RStudio as described above. -
Load the required libraries by running the following in the RStudio Console:
install.packages(c("shiny", "tidyverse", "here", "crosstalk", "plotly", "janitor", "sf", "leaflet", "DT"))
-
Source the functions and data by running:
source("code/functions.R")
-
Run the app by executing:
shiny::runApp()
-
To test specific functions or datasets, you can create separate R scripts within the RStudio project, load the necessary data, and call the functions directly.
To contribute to this project, you can:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes.
- Commit your changes (
git commit -am 'Add new feature'
). - Push to the branch (
git push origin feature-branch
). - Create a new Pull Request.
If you encounter any issues or have questions, feel free to open an issue on the GitHub repository.
The app is deployed and accessible at https://inyo.shinyapps.io/inyoShiny/.