Comments (6)
Hopefully, there will be not much differences, but I agree.
from hospitalnetwork.
I can see what you mean... Some of these statistics are not part of the network, but rather of the database itself, and I agree that we should treat them separately.
However, I would want to argue that quite a number of the statistics calculated by per_facility_summary()
are actually part of the hospital network. I think that the possibility of including these makes the HospiNet object stand apart from a "standard" igraph.
For instance, the number of admissions per facility gives information about what proportion of these are transfers / movements. Whereas mean length of stay gives a measure of size or patient volume of a given facility. To me, these are facility-based stats are an important part of the hospital network.
I will have a look and see if I can separate the stats that are part of the network from those that are part of the database, and move those belonging to the database to the checkBase
report
from hospitalnetwork.
Well, I think the potential problem is when there are discrepancies between what's in the base and what ends up in the network. For example, because we modify the number of admissions to deal with overlaps, the number of admissions per hospital in the network will not be the same as the one in the base. I think it's ok to leave everything in the HospiNet object, but maybe we need to differentiate them...
from hospitalnetwork.
I've created a bit of a stricter separation between what are network properties (belonging in the HospiNet object) and what are summary stats about the database (returned by checkBase())
This way, the workflow allows the user to check the database and get a quality report with stats on the database and errors therein. After that, the hospinet object can be created, and all information on the specific nodes (i.e. facilities/hospitals) is stored there.
Does that resolve your issue, @ClementMassonnaud ?
from hospitalnetwork.
@ClementMassonnaud, @tjibbed, can I close this issue ?
from hospitalnetwork.
Yes, I agree.
from hospitalnetwork.
Related Issues (18)
- Unit test scripts
- Checking base during edgelist_from_base() HOT 15
- Complete documentation of functions
- new implementation of overlap management HOT 5
- Shiny app HOT 3
- Columns for checking duplicated entries HOT 2
- S3 object HospiNet HOT 10
- FR: function adding GPS coordinates to HospiNet object
- FR: add fake GPS coordinates in fake database generation function
- circular network not working when only one cluster is present in the network
- Hospitals with no transfers get silently dropped HOT 1
- Fake data HOT 4
- Include (flagged) direct transfers in edgelist_from_patient_database
- Features you want to see in the package HOT 7
- Error when column name equals variable name HOT 2
- a shiny ui frontend to the package
- How overlapping stays are adjusted HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hospitalnetwork.