Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update national data import script to work for multiple years #213

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

struan
Copy link
Member

@struan struan commented Dec 10, 2024

This makes the file location and configuration arguments as well as moving the config into an external JSON file, plus adds support for marking sessions.

Finally, it does not set up question options by default.

Fixes #202

also add an option to make setting up options optional
also change the config to being loaded from a json file instead of hard
coded.
@struan struan force-pushed the 202-update-national-data-import branch 3 times, most recently from dab9b02 to a6fea43 Compare December 11, 2024 12:08
should make testing it a bit less fraught
No need for a council lookup so do not populate it and get the GSS code
directly from the data sheet
Some sheets have data for, e.g. multiple years in and we only want one
of them so update the skip logic to allow for skipping unless the column
matches versus skipping if the column does not match
as we're not creating the options from script it makes more sense to
match using the score than the description as then don't need to do a
lot of redundant config
@struan struan force-pushed the 202-update-national-data-import branch from a6fea43 to bc8c630 Compare December 11, 2024 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Scorecards 2025] update national data import script
1 participant