Skip to content

Commit 49079f0

Browse files
committed
rename dashboard folder to survey_dashboard
1 parent 8210360 commit 49079f0

18 files changed

Lines changed: 5062 additions & 2133 deletions

dashboard/__init__.py

Whitespace-only changes.

dashboard/data/hmc_survey_2021_data_cleaned.csv

Lines changed: 0 additions & 632 deletions
This file was deleted.

dashboard/plot_styles.py

Lines changed: 0 additions & 89 deletions
This file was deleted.

survey_dashboard/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
__name__ = "survey_dashboard"
2+
__version__ = "1.0.0"

dashboard/data/display_specifications/hcs_clean_dictionaries.py renamed to survey_dashboard/data/display_specifications/hcs_clean_dictionaries.py

Lines changed: 52 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2434,23 +2434,55 @@
24342434
]
24352435

24362436

2437-
FILTER_OPTIONS = [
2438-
"All",
2439-
"Cum. Sum",
2440-
"Chemistry",
2441-
"Earth Science",
2442-
"Engineering Science",
2443-
"Life Science",
2444-
"Mathematics",
2445-
"Other",
2446-
"Physics",
2447-
"Psychology"]
2448-
2449-
FILTER_OPTIONS_METHOD = [
2450-
"imaging",
2451-
"analytical methods",
2452-
"simulations",
2453-
"sample synthesis and preparation",
2454-
"cohort studies",
2455-
"recordings"
2456-
]
2437+
FILTER_OPTIONS = {
2438+
"method": [
2439+
"imaging",
2440+
"analytical methods",
2441+
"simulations",
2442+
"sample synthesis and preparation",
2443+
"cohort studies",
2444+
"recordings"],
2445+
"researchArea" : [
2446+
"All",
2447+
"Biology",
2448+
"Cum. Sum",
2449+
"Chemistry",
2450+
"Computer science"
2451+
"Earth Science",
2452+
"Engineering Science",
2453+
"Health",
2454+
"Mathematics",
2455+
"Other",
2456+
"Physics",
2457+
"Psychology"],
2458+
"HGFresearchField" : [
2459+
"All",
2460+
"Cum. Sum",
2461+
"Chemistry",
2462+
"Earth Science",
2463+
"Engineering Science",
2464+
"Life Science",
2465+
"Mathematics",
2466+
"Other",
2467+
"Physics",
2468+
"Psychology"],
2469+
"LargeScaleFacility" : [
2470+
"All",
2471+
"Cum. Sum",
2472+
"Chemistry",
2473+
"Earth Science",
2474+
"Engineering Science",
2475+
"Life Science",
2476+
"Mathematics",
2477+
"Other",
2478+
"Physics",
2479+
"Psychology"],
2480+
"CareerLevel" :
2481+
['Student',
2482+
'PhD candidate',
2483+
'Postdoc',
2484+
'Research Associate',
2485+
'Principal Investigator',
2486+
'Technical Staff',
2487+
'Other']
2488+
}

dashboard/data/display_specifications/hmc_colordicts.py renamed to survey_dashboard/data/display_specifications/hmc_colordicts.py

File renamed without changes.

dashboard/data/display_specifications/hmc_custom_layout.py renamed to survey_dashboard/data/display_specifications/hmc_custom_layout.py

File renamed without changes.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ def download_data(url="https://access.gesis.org/sharing/2433/3778",
2222
# For now go to the website of the DOI and download by hand
2323

2424
with open(destination, "wb") as fileo:
25-
fileo.write(requests.get(url).content)
25+
fileo.write(requests.get(url).content)
26+
File renamed without changes.

0 commit comments

Comments
 (0)