Skip to content

Commit e1a0aeb

Browse files
authored
Merge pull request #8 from Materials-Data-Science-and-Informatics/dev
Merge dev into master
2 parents 9fb6f26 + 49079f0 commit e1a0aeb

28 files changed

Lines changed: 23646 additions & 2256 deletions

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# custom
2+
*.csv
3+
14
# Byte-compiled / optimized / DLL files
25
__pycache__/
36
*.py[cod]

.pre-commit-config.yaml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v4.1.0
4+
hooks:
5+
- id: double-quote-string-fixer
6+
types: [python]
7+
- id: end-of-file-fixer
8+
- id: mixed-line-ending
9+
types: [python]
10+
- id: trailing-whitespace
11+
types: [python]
12+
13+
- repo: https://github.com/pre-commit/mirrors-yapf
14+
rev: v0.32.0
15+
hooks:
16+
- id: yapf
17+
name: yapf
18+
types: [python]
19+
exclude: &exclude_files >
20+
(?x)^(
21+
docs/.*|
22+
)$
23+
args: ['-i']
24+
additional_dependencies: ['toml']
25+
26+
- repo: https://github.com/ikamensh/flynt/
27+
rev: '0.76'
28+
hooks:
29+
- id: flynt
30+
args: [
31+
'--line-length=120',
32+
'--fail-on-change',
33+
]
34+
35+
- repo: https://github.com/asottile/pyupgrade
36+
rev: v2.31.1
37+
hooks:
38+
- id: pyupgrade
39+
args: [
40+
'--py37-plus'
41+
]
42+
exclude: '^(docs/)|(examples/)'
43+
44+
- repo: local
45+
hooks:
46+
47+
- id: pylint
48+
name: pylint
49+
entry: pylint
50+
types: [python]
51+
language: system
52+
exclude: '^(docs/)|(examples/)'

Citation.cff

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
cff-version: 1.2.0
2+
title: "survey-dashboard"
3+
message: "If you use this software, please cite it as below."
4+
version: 1.0.0
5+
type: software
6+
license: MIT
7+
date-released: '2022-09-25'
8+
repository-code: >-
9+
https://github.com/Materials-Data-Science-and-Informatics/survey_dashboard
10+
url: >-
11+
https://github.com/Materials-Data-Science-and-Informatics/survey_dashboard
12+
repository: >-
13+
https://github.com/Materials-Data-Science-and-Informatics/survey_dashboard
14+
keywords:
15+
- dashboard
16+
- 'data visualization'
17+
- 'survey data'
18+
- 'categorical data'
19+
- 'interactive visualization'
20+
- bokeh
21+
- panel
22+
authors:
23+
- family-names: Bröder
24+
given-names: Jens
25+
orcid: 'https://orcid.org/0000-0001-7939-226X'
26+
email: j.broeder@fz-juelich.de
27+
affiliation: Forschungszentrum Jülich GmbH (FZJ)
28+
- family-names: Gerlich
29+
given-names: Silke Christine
30+
orcid: 'https://orcid.org/0000-0003-3043-5657'
31+
email: s.gerlich@fz-juelich.de
32+
affiliation: Forschungszentrum Jülich GmbH (FZJ)
33+
- family-names: Hofmann
34+
given-names: Volker
35+
orcid: 'https://orcid.org/0000-0002-5149-603X'
36+
email: v.hofmann@fz-juelich.de
37+
affiliation: Forschungszentrum Jülich GmbH (FZJ)
38+
abstract: |
39+
A Dashboard displaying survey data in an
40+
interactive way and allow for interactive exploration.
41+
Written for the data publication of the Helmholtz Metadata collaboration
42+
survey 2021: https://doi.org/10.7802/2433.
43+
The code could be adapted to visualize other categorical data provided
44+
in a table.
45+
46+
Acknowledgements:
47+
This project was developed at the Institute for Materials Data Science and Informatics
48+
(IAS-9) of the Jülich Research Center and funded by the Helmholtz Metadata Collaboration
49+
(HMC), an incubator-platform of the Helmholtz Association within the framework of the
50+
Information and Data Science strategic initiative.

codemeta.json

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"@context": [
3+
"https://raw.githubusercontent.com/codemeta/codemeta/2.0/codemeta.jsonld",
4+
"https://w3id.org/software-iodata",
5+
"https://raw.githubusercontent.com/schemaorg/schemaorg/main/data/releases/13.0/schemaorgcontext.jsonld",
6+
"https://w3id.org/software-types"
7+
],
8+
"@id": "/survey-dashboard",
9+
"@type": "SoftwareSourceCode",
10+
"author": {
11+
"@id": "/person/j.broeder",
12+
"@type": "Person",
13+
"email": "j.broeder@fz-juelich.de",
14+
"familyName": "",
15+
"givenName": "j.broeder"
16+
},
17+
"description": "A Dashboard displaying survey data interactively.",
18+
"identifier": "survey-dashboard",
19+
"license": "http://spdx.org/licenses/MIT",
20+
"name": "survey-dashboard",
21+
"runtimePlatform": [
22+
"Python 3",
23+
"Python 3.10",
24+
"Python 3.8",
25+
"Python 3.9"
26+
],
27+
"softwareRequirements": [
28+
{
29+
"@id": "/dependency/bokeh-ge-2.4.3,-lt-3.0.0",
30+
"@type": "SoftwareApplication",
31+
"identifier": "bokeh",
32+
"name": "bokeh",
33+
"runtimePlatform": "Python 3",
34+
"version": ">=2.4.3,<3.0.0"
35+
},
36+
{
37+
"@id": "/dependency/pandas-ge-1.4.1,-lt-2.0.0",
38+
"@type": "SoftwareApplication",
39+
"identifier": "pandas",
40+
"name": "pandas",
41+
"runtimePlatform": "Python 3",
42+
"version": ">=1.4.1,<2.0.0"
43+
},
44+
{
45+
"@id": "/dependency/panel-ge-0.13.1,-lt-0.14.0",
46+
"@type": "SoftwareApplication",
47+
"identifier": "panel",
48+
"name": "panel",
49+
"runtimePlatform": "Python 3",
50+
"version": ">=0.13.1,<0.14.0"
51+
},
52+
{
53+
"@id": "/dependency/wordcloud-ge-1.8.2.2,-lt-2.0.0.0",
54+
"@type": "SoftwareApplication",
55+
"identifier": "wordcloud",
56+
"name": "wordcloud",
57+
"runtimePlatform": "Python 3",
58+
"version": ">=1.8.2.2,<2.0.0.0"
59+
}
60+
],
61+
"version": "1.0.0"
62+
}

dashboard/__init__.py

Whitespace-only changes.

dashboard/data/HMC_community_survey2021_merged_all_replies.csv

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

dashboard/data/filters.txt

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

dashboard/data/questions.txt

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

dashboard/main.py

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

0 commit comments

Comments
 (0)