Description Usage Arguments Details
This function selects patients from the patient table of a CPRD database who are alive and registered within a supplied window
1 2 | patients_in_window(db, startdate, enddate, qs = TRUE,
registration_buffer = 0, patient_tablename = "Patient")
|
db |
a database connection |
startdate |
character for the start of the window. format %Y-%m-%d |
enddate |
character for the end of the window. format %Y-%m-%d |
qs |
logical should only patients deemed to be of acceptable quality standard be selected? Most downloaded cohorts will be up to standard by default |
registration_buffer |
numeric how many days must patients be registered for prior to the startdate to be included? Setting a posive value can reduce information bias |
patient_tablename |
The name of the patient table. default is Patient |
criteria are that crd is before start of window, tod is after end of window deathdate is after end of window
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.