v0.2.0
Release date: 1st March 2024
Contributors: Amy Heather
Modified package so it can be used to produce the synthetic symbol #BeeWell survey dashboard, as well as the standard survey dashboard.
Added
- Created
CHANGELOG.md(with backdated entry for 0.1.0) - Created
CITATION.cff - Created package documentation using Sphinx and readthedocs -
docs/and.readthedocs.yaml create_group_list()inbar_charts.pywhich creates a correctly formatted list of strings depending on number of inputs (e.g. 'a', 'a and b', 'a, b and c')grammar.py- containslower_first()which converts first letter of string to lower case, unless all other letters are upper case- Add
aggregate_demographic()tocreate_and_aggregate_data.py - Add new alternative inputs, outputs and process to existing functions that were developed for standard survey, so they can be used to output equivalent content for symbol survey. This includes
authentication.py- custom login screen textcreate_and_aggregate_data.py- two possible sets of groups to aggregate byexplore_results.py- custom page text, and providing survey type to functions likefilter_by_group()import_data.py- add names of data for symbol survey as for session_state and as in TiDB Cloud, and simplified import functionpage_setup.py- to use name 'symbol' survey in the page menureshape_data.py- for differences with symbol (e.g. exc SEN)response_labels.py- new functioncreate_symbol_response_label_dict()static_report.py- converting some of the processes into standalone functions, so they can be imported to old function making static standard report and new function making static symbol reportwho_took_part.py- modifications for symbol like different headers and no descriptive text
Changed
- Moved all About page text to
reuse_text.py - In
requirements.txt, upgraded pip to 24.0 and streamlit to 1.31.1, and add packages used to produce documentation (sphinx, sphinx-rtd-theme, myst-parser, sphinx-autoapi)
Removed
- Removed option to compare data import from TiDB to imported CSVs from the project directory (as function wasn't being used) in
import_data.py
Fixed
- Hide responses (and non-response) on 'who took part' if n<10 for a given response option (more strict than elsewhere on dashboard, which just requires n>=10 for the entire question). For this, modified
survey_responses()inbar_charts.py