Description Usage Arguments Details Value
View source: R/extractPathology.R
Extracts pathology reports from the Caisis database and returns a data frame.
1 2 | extractPathology(connection, patients = NULL, parsePlasmacells = FALSE,
n = -1)
|
connection |
ODBC connection object returned by dbConnect. |
patients |
A character vector of patient medical record numbers. If no limit is desired then set as NULL. |
parsePlasmacells |
A Boolean indicating whether unabstracted plasma cell precentrages should be abstracted from PathNotes column. |
n |
Number of records to retrieve. Use n = -1 to retrieve all records. |
For columns reporting the precentatage of plasma cells, a new column is created with the numeric value only. Less or greater than symbols are removed and the median is reported for ranges. N/As are converted to 0.
Returns a data frame with pathology reports from the Caisis database.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.