UNHCR-Guatemala / A2SIT

Admin2 Severity Index Tool
https://unhcr-guatemala.github.io/A2SIT/
Other
2 stars 1 forks source link

As user, I would like to be able to configure a custom framework within the same file used to input the data #6

Closed martinepunhcr closed 1 year ago

martinepunhcr commented 1 year ago

In the f_input.R module, the index framework is currently fixed through an RDS file (./inst/iMeta_aggs.RDS). Since the end user will need to customize the index structure, we need the framework configured by pulling the data from iMeta_aggs tab in the data_input file instead of the RDS file. Please, rewrite the code to enable that functionality.

Client - Validation

Dev - Tech

bluefoxr commented 1 year ago

Ok noted, will get to this soon.

bluefoxr commented 1 year ago

Hi please see https://github.com/UNHCR-Guatemala/A2SIT/commit/d38d2e3d856e529de1ab40ad6477edf70fe3399f where I have enabled to read the metadata tab from the input file, and also uploaded the new example data spreadsheet to the repo.

I have added this to the Results branch which is waiting to be merged here: #12 rather than creating a separate branch.