Comments (7)
Hi Pascal,
Shouldn't generating the edgelist and/or matrix from the raw database be part of the basic analyses? A rather important functionality of the script, I would say :)
I would suggest some functionality of introducing errors into the simulated data, in particular to test if each step of the data management side of the script identifies and handles the errors correctly. I would suggest the following errors:
- Incorrect date format (e.g. some records are dmy, while others are mdy)
- Overlapping admissions (simple, duplicate a multi-day stay and shift it one day, or introduce a one-day stay on day two of stay >3 days.
- Duplicate records
- Missing values , or spaces introduced.
from hospitalnetwork.
from hospitalnetwork.
from hospitalnetwork.
from hospitalnetwork.
Reading through the minutes of the NeWIS meeting, I noticed we've forgotten about the general summary statistics. We discussed that for each database / country we should extract summary stats such as number of patients, number of hospitals, mean length of stay, etc.
I'll start writing a function to extract these.
from hospitalnetwork.
Going through the workflow of the package, isn't it an idea to include the summary statistics of the entire database into the HospiNet class? We can call the functions extracting these stats from the database within the hospinet_from_patient_database() function.
If the HospiNet is not constructed from the patient database directly, but for instance using a pre-constructed edgelist, it just remains empty (NULL). However, if it was constructed using the patient database, it would give us the opportunity to easily export the data as one file.
I think this would greatly improve the collection of data back from all participants.
from hospitalnetwork.
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
- Summary statistics in HospiNet object are actually computed from the original base HOT 6
- 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
- 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.