Example using Medicare
Let’s do an example using Medicare data
CMS 2008-2010 Data Entrepreneurs' Synthetic Public Use File (DE-SynPUF)
CMS 2008-2010 Data Entrepreneurs' Synthetic Public Use File (DE-SynPUF) The DE-SynPUF was created with the goal of providing a realistic set of claims data in the public domain while providing the very highest degree of protection to the Medicare beneficiaries' protected health information. The purposes of the DE-SynPUF are to:
Using medicare data, create a cohort satisfying the following I/E criteria:
- Diabetes status
- Inpatient claims
- prescription drugs
- Classic example using like 150 lines of code
Tidy Patient approach
- Show it in 10 lines of code
- Results are the same.
- Tidy benefits
- 90% less user code
- easier to update
- If you wanted to update the analysis to do X, almost anyone could do it with the tidy approach, only experts could in the non-tidy way.
- Fewer opportunities for errors
- Ready for automatic feature updates if the underlying modular functions improve.
- Ready for use in external tools, such as a dashboard
How did we do it?
- Modular, functional, documented, tested code
- Wrap tidy code within a dashboard or API
- Create methods for different datasets
Call to Action
- To get support in building scaleable RWD solutions at your organization, reach out to Plinth.
- Show examples in R and Python? What about pseudo-code?
- Link to a github repo with actual functions?
- Pro: Could increase engagement
- Con: Takes work