giswqs commited on
Commit
68b2f91
·
1 Parent(s): 8e8dd30

Updated docs

Browse files
Files changed (3) hide show
  1. apps/deck.py +1 -0
  2. apps/housing.py +5 -5
  3. multiapp.py +4 -3
apps/deck.py CHANGED
@@ -5,6 +5,7 @@ def app():
5
 
6
  import pydeck as pdk
7
 
 
8
  DATA_URL = "https://raw.githubusercontent.com/visgl/deck.gl-data/master/examples/geojson/vancouver-blocks.json"
9
  LAND_COVER = [
10
  [[-123.0, 49.196], [-123.0, 49.324], [-123.306, 49.324], [-123.306, 49.196]]
 
5
 
6
  import pydeck as pdk
7
 
8
+ st.title("Property values in Vancouver, Canada")
9
  DATA_URL = "https://raw.githubusercontent.com/visgl/deck.gl-data/master/examples/geojson/vancouver-blocks.json"
10
  LAND_COVER = [
11
  [[-123.0, 49.196], [-123.0, 49.324], [-123.306, 49.324], [-123.306, 49.196]]
apps/housing.py CHANGED
@@ -8,9 +8,7 @@ import pydeck as pdk
8
  import geopandas as gpd
9
  import streamlit as st
10
  import leafmap.colormaps as cm
11
- import matplotlib.pyplot as plt
12
- from leafmap.common import to_hex_colors, hex_to_rgb
13
- import matplotlib as mpl
14
 
15
 
16
  STREAMLIT_STATIC_PATH = pathlib.Path(st.__path__[0]) / "static"
@@ -208,8 +206,10 @@ def app():
208
 
209
  st.title("Real Estate Data and Market Trends")
210
  st.markdown(
211
- """
212
- Data source: <https://www.realtor.com/research/data>
 
 
213
  """
214
  )
215
 
 
8
  import geopandas as gpd
9
  import streamlit as st
10
  import leafmap.colormaps as cm
11
+ from leafmap.common import hex_to_rgb
 
 
12
 
13
 
14
  STREAMLIT_STATIC_PATH = pathlib.Path(st.__path__[0]) / "static"
 
206
 
207
  st.title("Real Estate Data and Market Trends")
208
  st.markdown(
209
+ """**Introduction:** This interactive dashboard is designed for visualizing U.S. real estate data and market trends at multiple levels (i.e., national,
210
+ state, county, and metro). The data sources include [Real Estate Data](https://www.realtor.com/research/data) from realtor.com and
211
+ [Cartographic Boundary Files](https://www.census.gov/geographies/mapping-files/time-series/geo/carto-boundary-file.html) from the U.S. Census Bureau.
212
+ Several open-source packages are used to process the data and generate the visualizations, such as [streamlit](https://streamlit.io), [geopandas](https://geopandas.org), [leafmap](https://leafmap.org), and [pydeck](https://deckgl.readthedocs.io).
213
  """
214
  )
215
 
multiapp.py CHANGED
@@ -64,16 +64,17 @@ class MultiApp:
64
 
65
  st.sidebar.title("Contribute")
66
  st.sidebar.info(
67
- "This an open source project and you are very welcome to **contribute** your awesome "
68
  "comments, questions, resources and apps as "
69
- "[issues](https://github.com/giswqs/streamlit-geospatial/issues) of or "
70
  "[pull requests](https://github.com/giswqs/streamlit-geospatial/pulls) "
71
  "to the [source code](https://github.com/giswqs/streamlit-geospatial). "
72
  )
73
  st.sidebar.title("About")
74
  st.sidebar.info(
75
  """
76
- This app is maintained by Qiusheng Wu. You can learn more about me at
77
  [wetlands.io](https://wetlands.io) | [GitHub](https://github.com/giswqs) | [Twitter](https://twitter.com/giswqs) | [YouTube](https://www.youtube.com/c/QiushengWu).
 
78
  """
79
  )
 
64
 
65
  st.sidebar.title("Contribute")
66
  st.sidebar.info(
67
+ "This is an open source project and you are very welcome to contribute your "
68
  "comments, questions, resources and apps as "
69
+ "[issues](https://github.com/giswqs/streamlit-geospatial/issues) or "
70
  "[pull requests](https://github.com/giswqs/streamlit-geospatial/pulls) "
71
  "to the [source code](https://github.com/giswqs/streamlit-geospatial). "
72
  )
73
  st.sidebar.title("About")
74
  st.sidebar.info(
75
  """
76
+ This web [app](https://gishub.org/streamlit-geospatial) is maintained by Qiusheng Wu. You can learn more about me at
77
  [wetlands.io](https://wetlands.io) | [GitHub](https://github.com/giswqs) | [Twitter](https://twitter.com/giswqs) | [YouTube](https://www.youtube.com/c/QiushengWu).
78
+
79
  """
80
  )