Datasets that are not in category tree should be collected to be displayed to user in UI
In some cases datasets are present in json-data
but not included in category tree. This is the case for example in #526 (closed): the json-data folder contains some datasets (3280
for example) that exist in json-data
but not included (anymore) in category tree.
Those datasets are still accessible via direct link (https://db.nomics.world/INE-SPAIN/3286
) for those who know their existence.
They should be included in category tree page in UI to let user access them.
Propositions
- do it in
json-data
: add a child at the end of the category tree (e.g. named "other"), containing references to those extra datasets. Add aadd_extra_datasets(category_tree, dataset_codes) -> category_tree
function to https://git.nomics.world/dbnomics/dbnomics-fetchers-toolbox - do it in web API dynamically
I tend to prefer doing it in json-data
in case people read Git repositories directly.