web4bio / webgen

WebGen Vertically Integrated Project
https://web4bio.github.io/webgen/main/html/
11 stars 26 forks source link

put data fetchers into one files/namespace #343

Closed kaczmarj closed 2 years ago

kaczmarj commented 3 years ago

at the moment, we have a low-level data fetcher fetchFromFireBrowse. instead of using this function directly in higher-level code, we can define data fetchers that will fetch particular data types. we can put these in a file like fetchClinicalData.js. this will clean up some big functions and will also organize the data fetchers.

related to #342