ResearchSoftwareInstitute / greendatatranslator

Green Team Data Translator Software Engineering and Development
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

Develop Swagger UI for ICEES Smart API #134

Open karafecho opened 6 years ago

karafecho commented 6 years ago

The purpose of this issue is to develop a user-friendly UI to interface with the Smart API for the DDCR Service. This will allow SMEs and other users to access the DDCR Service through drop-down menus and other features, without having to execute curl commands.

karafecho commented 5 years ago

New plan for exposures variables:

MaxDailyPM2.5Exposure_StudyAvg avg of daily max pm2.5 over study period MaxDailyOzoneExposure_StudyAvg avg of daily max ozone over study period AvgDailyPM2.5Exposure_StudyAvg avg of daily avg pm2.5 over study period AvgDailyOzoneExposure_StudyAvg avg of daily avg ozone over study period MaxDailyPM2.5Exposure_StudyMax max of daily max pm2.5 over study period MaxDailyOzoneExposure_StudyMax max of daily max ozone over study period AvgDailyPM2.5Exposure_StudyMax max of daily avg pm2.5 over study period AvgDailyOzoneExposure_StudyMax max of daily avg ozone over study period

Use existing variables as default variables and map them to the newly added variables as follows:

MaxDailyPM2.5Exposure -> MaxDailyPM2.5Exposure_StudyMax MaxDailyOzoneExposure -> MaxDailyOzoneExposure_StudyMax AvgDailyPM2.5Exposure -> AvgDailyPM2.5Exposure_StudyAvg AvgDailyOzoneExposure -> AvgDailyOzoneExposure_StudyAvg

karafecho commented 5 years ago

@xu-hao @ColinKCurtis : FYI.

  EVENT (>=2 visits) No EVENT (<2 visits)
Tx a b
No Tx c d
     

RR = probability of event in Tx group/probability of event in no Tx group = (a/(a+b))/(c(c+d))   |   |   OR = odds of event in Tx group/odds of event in no Tx group = (a/b)/(c/d) = ad/bc

karafecho commented 5 years ago

In ICEES the table would equate to the following:

  NO EVENT EVENT
No Tx d c
Tx b a