Some examples
To get started, let's assume that our data provider from Chapter 3, Understanding Your Data Using R, has supplied additional files to us containing patient survey information, but it has been communicated that the data quality of these files is suspect. In the following examples, we'll see what can be done to address specific concerns and improve the quality of the data.
Some reformatting
A profiling exercise from Chapter 3, Understanding Your Data Using R, was to time box the data to establish a time frame in which the hospital visits were recorded. Using R, we scanned the data looking at the field or column named recorddate and generated a list of four character years found in the file. By looking at the list we were able to establish ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access