Skip to content

Commit 03c24c9

Browse files
committed
Upload path of data download.
1 parent 49079f0 commit 03c24c9

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

survey_dashboard/data/download_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#url="https://access.gesis.org/sharing/2433/3778"
1616

1717
def download_data(url="https://access.gesis.org/sharing/2433/3778",
18-
destination="dashboard/data/hmc_survey_2021_data_cleaned.csv"):
18+
destination="survey_dashboard/data/hmc_survey_2021_data_cleaned.csv"):
1919
"""
2020
This function downloads the dataset for a given DOI
2121
"""

survey_dashboard/main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -408,10 +408,10 @@ def select_data_wordcloud(data_filters, data_filters_method, content=['dataGenMe
408408

409409
multi_choice = pn.widgets.MultiChoice(name="Filter by research area. (Each selected will be shown)", value=["All"], options=FILTER_OPTIONS['researchArea'])
410410
multi_choice_method = pn.widgets.MultiChoice(name="Filter by data generation method (Only datasets containing all filters)", value=[], options=FILTER_OPTIONS['method'])
411-
multi_choice_hgf_field = pn.widgets.MultiChoice(name="Filter by HGF research field (Each selected will be shown)", value=["All"], options=FILTER_OPTIONS['HGFresearchfield'])
411+
#multi_choice_hgf_field = pn.widgets.MultiChoice(name="Filter by HGF research field (Each selected will be shown)", value=["All"], options=FILTER_OPTIONS['HGFresearchfield'])
412412
# for careerlevel there can be only one, so we use a Multiselect instead
413-
select_careerlevel = pn.widgets.Select(name="Filter by career level.", value=[], options=FILTER_OPTIONS['careerLevel'])
414-
multi_choice_facility = pn.widgets.MultiChoice(name="Filter by career level.", value=[], options=FILTER_OPTIONS['LargeScaleFacility'])
413+
#select_careerlevel = pn.widgets.Select(name="Filter by career level.", value=[], options=FILTER_OPTIONS['careerLevel'])
414+
#multi_choice_facility = pn.widgets.MultiChoice(name="Filter by career level.", value=[], options=FILTER_OPTIONS['LargeScaleFacility'])
415415

416416
# Bar chart
417417
# D: question select could also be a slider?

0 commit comments

Comments
 (0)