diego-ellis-soto commited on
Commit
e8a5299
·
1 Parent(s): 1fe4980

Combiend logos into one png

Browse files
Files changed (3) hide show
  1. README.md +48 -16
  2. app.R +17 -1
  3. www/Combined_logos.png +0 -0
README.md CHANGED
@@ -1,35 +1,67 @@
1
- # SF_biodiv_access_shiny
2
 
3
- App.R runs both the ui and server side of the add and loads necessary objects in R/setup.R. Shiny App working locally, but errors when pushing to ShinyApps.io.
4
-
5
- The aim of this Shiny app is to provide decision support for the Reimagining San Francisco Initiative
6
 
7
  ![Screenshot of the App](www/app_screenshot_1.png)
8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
 
10
- This Shiny App takes:
11
 
12
- Long/Lat on a mac by a users click OR typing of adress using geocoder.
13
 
14
- Select a travel time and transportation code to calculate isochromes
15
 
16
- The background then allows to identify biodiversity around a calculted isochrome as well as socio-economic and environmental variables
17
 
18
- It further calculates a summary table of the GBIF data located within the isochrome
 
 
19
 
 
20
 
21
- # Next steps: Optimize preanno of sf gbif and cbg
22
 
23
- Add Imp Surf, Walking Scores, SVI to cbg_sf
 
 
 
 
24
 
25
- Add community grass root partner orgs locations
26
 
27
- Get images to work
28
 
29
- # Public transport ddata
30
 
31
- Calculate accessability matrix for SF
32
 
 
 
 
33
 
34
- # Show difference on the day
35
 
 
1
+ # SF Biodiversity Access Shiny App
2
 
3
+ This Shiny app provides decision support for the **Reimagining San Francisco Initiative**, aiming to explore the intersection of biodiversity, socio-economic variables, and greenspace accessibility.
 
 
4
 
5
  ![Screenshot of the App](www/app_screenshot_1.png)
6
 
7
+ ---
8
+
9
+ ## Features
10
+
11
+ - Users can either **click on the map** or **type an address** to generate isochrones for travel-time accessibility.
12
+ - Supports multiple transportation modes, including pedestrian, cycling, driving, and traffic-sensitive driving.
13
+ - Retrieves socio-economic data from **precomputed Census variables**.
14
+ - Calculates and overlays **NDVI** for vegetation analysis.
15
+ - Summarizes biodiversity records from **GBIF** and identifies species richness, greenspace, and socio-economic patterns.
16
+
17
+ ![Combined Logos](www/combined_logos.png)
18
+
19
+ ---
20
+
21
+ ## App Summary
22
+
23
+ This application allows users to:
24
+
25
+ - Generate travel-time isochrones across multiple transportation modes.
26
+ - Retrieve biodiversity and socio-economic data for a chosen area.
27
+ - Explore greenspace coverage, population estimates, and species diversity.
28
+
29
+ **Created by:**
30
+ Diego Ellis Soto, Carl Boettiger, Rebecca Johnson, Christopher J. Schell
31
+ Contact: [email protected]
32
 
33
+ ---
34
 
 
35
 
36
+ ## Why Biodiversity Access Matters
37
 
38
+ Ensuring equitable access to biodiversity is essential for:
39
 
40
+ - **Human well-being**: Promoting physical and mental health through exposure to nature.
41
+ - **Ecological resilience**: Supporting pollinators, moderating climate extremes, and enhancing ecosystem services.
42
+ - **Urban planning**: Incorporating biodiversity metrics into decision-making for sustainable urban futures.
43
 
44
+ ---
45
 
46
+ ## Next Steps
47
 
48
+ 1. Add impervious surface data, national walkability score, and social vulnerability index.
49
+ 2. Integrate community organizations and NatureServe biodiversity maps.
50
+ 3. Optimize speed by pre-storing variables and aggregating data.
51
+ 4. Develop a comprehensive biodiversity access score in collaboration with stakeholders.
52
+ 5. Annotate GBIF data with additional environmental variables for enhanced summaries.
53
 
54
+ ## Public Transport Data
55
 
56
+ Future plans include integrating public transportation accessibility to further enhance decision-making capabilities.
57
 
58
+ ---
59
 
60
+ ## Repository Structure
61
 
62
+ - **App.R**: Main application file containing UI and server logic.
63
+ - **R/setup.R**: Script to load necessary datasets (e.g., annotated GBIF, NDVI).
64
+ - **www/**: Contains logos, screenshots, and other resources.
65
 
66
+ ---
67
 
app.R CHANGED
@@ -56,6 +56,12 @@ ui <- dashboardPage(
56
  # Loading message
57
  div(id = "loading", style = "display:none; font-size: 20px; color: red;", "Calculating..."),
58
 
 
 
 
 
 
 
59
  # fluidRow(
60
  # column(
61
  # width = 2,
@@ -309,7 +315,17 @@ server <- function(input, output, session) {
309
  # Render logos
310
  # ------------------------------------------------
311
 
312
- # output$uc_berkeley_logo <- renderImage({
 
 
 
 
 
 
 
 
 
 
313
  # list(
314
  # src = file.path("www", "UC_Berkeley_logo.png"),
315
  # width = "50%",
 
56
  # Loading message
57
  div(id = "loading", style = "display:none; font-size: 20px; color: red;", "Calculating..."),
58
 
59
+ fluidRow(
60
+ column(
61
+ width = 2,
62
+ imageOutput("Combined_logos")
63
+ ),
64
+
65
  # fluidRow(
66
  # column(
67
  # width = 2,
 
315
  # Render logos
316
  # ------------------------------------------------
317
 
318
+
319
+ output$combine_logo <- renderImage({
320
+ list(
321
+ src = file.path("www", "Combined_logos.png"),
322
+ width = "50%",
323
+ height = "45%",
324
+ alt = "Combined_logos"
325
+ )
326
+ }, deleteFile = FALSE)
327
+
328
+ # output$uc_berkeley_logo <- renderImage({
329
  # list(
330
  # src = file.path("www", "UC_Berkeley_logo.png"),
331
  # width = "50%",
www/Combined_logos.png ADDED