oSoc18 / healthdata

#osoc18 healthdata project
MIT License
6 stars 1 forks source link

Beds history #102

Closed QingzhiHu closed 6 years ago

QingzhiHu commented 6 years ago

First to run python manage.py historical data Model:BedDetailed python manage.py bedshistory you can get detailed beds history of any hospital by year (in the code it contained 2018 for each month otherwise too much data to load, you can change the param int(match.group(2)) > 2017), month, department

36

39

41 can be acheived by searching for hospital = xxx, year = xxx, month = xxx, department =xxx, beds isn't null (this can be done in frontend)