Allow upload of custom population values
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start with the 'Population Growth' section of the Shiny app, where the dropdown lives, and see how the existing scenario inputs are read and saved to params.json under the demographic_adjustment key. The issue proposes a 'Custom' option that reveals a template download and a fileInput(), with uploaded values validated on ingestion; the file format and validation schema are still open questions to settle first. Done means a user can download the template, upload a completed one, and see the values written to demographic_adjustment, with the process explained in the interface.
Written by the indexing model from the issue text.
Description
Presumably the flow will be like:
- Go to the 'Population Growth' section of the app.
- Select a new 'Custom' option from the dropdown, which will reveal (a) a button to download a template (probably CSV) and (b) a
fileInput()element. - Upload a completed version of the template, which we could validate on ingestion (perhaps using the schema in part).
- The values get written to the
demographic_adjustmentkey of the scenario'sparams.json.
Would need to explain this process to the user in the interface and add some notes to project information, probably.
- Dominant language
- R
- Stars
- 2
- Forks
- 1
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 2
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from The-Strategy-Unit/nhp_inputs
-
could enhancement
Difficulty 1/5 Under an hour Newbie friendliness 80/100
The-Strategy-Unit/nhp_inputs#758 ·
-
bug could
Difficulty 1/5 Under an hour Newbie friendliness 85/100
The-Strategy-Unit/nhp_inputs#718 ·
-
accessibility could documentation
Difficulty 1/5 1-3 hours Newbie friendliness 70/100
The-Strategy-Unit/nhp_inputs#703 · 1 comment ·
-
accessibility enhancement should users
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
The-Strategy-Unit/nhp_inputs#702 · 1 comment ·
-
should techdebt
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
The-Strategy-Unit/nhp_inputs#680 ·
All issues in The-Strategy-Unit/nhp_inputs
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
bug dependencies R
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
enhancement needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
JamesHWade/graft#142 ·
Maintainers usually reply within 1 day