VacFind / GeoCompare

A tool designed to help the creators of vaccine finder tools easily manipulate, combine, and move data to allow everyone to have better access to data about vaccination sites during the pandemic
https://vacfind.github.io/GeoCompare/
MIT License
0 stars 3 forks source link

pick a system for picking an action to run based on user commands #6

Closed MoralCode closed 3 years ago

MoralCode commented 3 years ago

currently all I can come up with as a system for running an Action is just to hardcode a list of string commands and map that to whatever class or function is needed to run that action. I feel like there must be a better way to do this but I cant think of it

MoralCode commented 3 years ago

This may also need to be more of a "pipeline" or "sequence of actions" type thing, for example if you need to run a normalize action to make addresses and coordinates more consistent, then an associate action to match up entries from the two datasets, then a third compare action to look through the association list and spit out shared and missing entries for each DB

MoralCode commented 3 years ago

I have come to rezlize that this aspect of the project is not actually that necessary and is mainly a result of my over-ambition and over-scoping of the project. For now, the only "action" performed can be to compare two datasets and run the results through the correct output class to generate the desired function.