diego-ellis-soto
commited on
Commit
·
e8a5299
1
Parent(s):
1fe4980
Combiend logos into one png
Browse files- README.md +48 -16
- app.R +17 -1
- www/Combined_logos.png +0 -0
README.md
CHANGED
@@ -1,35 +1,67 @@
|
|
1 |
-
#
|
2 |
|
3 |
-
|
4 |
-
|
5 |
-
The aim of this Shiny app is to provide decision support for the Reimagining San Francisco Initiative
|
6 |
|
7 |

|
8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
|
10 |
-
|
11 |
|
12 |
-
Long/Lat on a mac by a users click OR typing of adress using geocoder.
|
13 |
|
14 |
-
|
15 |
|
16 |
-
|
17 |
|
18 |
-
|
|
|
|
|
19 |
|
|
|
20 |
|
21 |
-
|
22 |
|
23 |
-
Add
|
|
|
|
|
|
|
|
|
24 |
|
25 |
-
|
26 |
|
27 |
-
|
28 |
|
29 |
-
|
30 |
|
31 |
-
|
32 |
|
|
|
|
|
|
|
33 |
|
34 |
-
|
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 |

|
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 |
+

|
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 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
![]() |