cboettig commited on
Commit
4b509d4
·
1 Parent(s): 1fe16a2
Files changed (2) hide show
  1. app.py +3 -1
  2. test.csv +0 -0
app.py CHANGED
@@ -34,7 +34,7 @@ st.set_page_config(layout="wide", page_title="GBIF Biodiversity Demo", page_icon
34
  # +
35
  # LOAD DATA ONCE
36
  @st.cache_resource
37
- def load_data():
38
  con = ibis.duckdb.connect()
39
  con.raw_sql('''
40
  INSTALL httpfs;
@@ -58,6 +58,8 @@ def load_data():
58
  return data
59
 
60
 
 
 
61
  @st.cache_data
62
  def filterdata(df, year):
63
  return df[df.year == year]
 
34
  # +
35
  # LOAD DATA ONCE
36
  @st.cache_resource
37
+ def load_raw_data():
38
  con = ibis.duckdb.connect()
39
  con.raw_sql('''
40
  INSTALL httpfs;
 
58
  return data
59
 
60
 
61
+
62
+
63
  @st.cache_data
64
  def filterdata(df, year):
65
  return df[df.year == year]
test.csv ADDED
The diff for this file is too large to render. See raw diff