healthyregions / oeps

Opioid Environment Policy Scan - data explorer and backend management
https://oeps.healthyregions.org
GNU General Public License v3.0
0 stars 0 forks source link

Replace hard-coded variable lists, etc. with JSON configs #35

Open mradamcox opened 1 week ago

mradamcox commented 1 week ago

After #36 is complete, we should look at moving any lists of variables that are hard-coded into js files into JSON files. This would be a stepping-stone to making a cleaner, more backend-driven frontend. However, I realize this would take us a bit away from the documentation for WebGeoda, so I'm looking into how/whether we should try to update that along the way.

bucketteOfIvy commented 1 week ago

As a bit of clarification for this issue: what specific types of lists of variables are we interested in pulling out of JavaScript files for this issue? Is it things like uniqueScales from download.js which could probably be moved to an outer JSON, more towards rewriting files like csvFiles.js to be JSON files, or both?