Open mraguso2 opened 2 years ago
i wanted to keep it simple ,for people contributing for the first time also. they could drop in a dataset by copying above code and changing id in few lines.
I think this suggested workflow to add datasets would be pretty simple.
All the person would need to do is:
This allows you to easily make edits to the html structure if you ever needed to, since it is simply looping over this dataset and plugging in values for each dataset.
I can send over the PR soon to show you how it could work and if you're not interested I can close this issue
yup send a PR. tq
I think it may be easier to maintain if there was one large DatasetDictionary js object that included information for every dataset {name, id, download, classification, pathname} and then were looped and populated into html elements.
Something like:![Snit-it](https://user-images.githubusercontent.com/11032475/138732428-718a2e9b-bb8c-4976-aed8-57d3300f2fd6.JPG)
I saw that you have some outstanding PR's that update the UI so there could be some conflicts with a change this big but it would greatly clean up you index.html file and allow for easier dataset edits
Let me know what you think - I already started the work on this if you are interested in moving to this functionality.