CPRDCRIBS: Stata module providing template do-files for inputting CPRD datasets into Stata
Roger Newson
Statistical Software Components from Boston College Department of Economics
Abstract:
The cprdcribs package is a set of template (or crib) do-files for inputting text datasets produced by the Clinical Practice Research Datalink (CPRD), and outputting a core set of Stata datasets for a CPRD database, together with a do-file to create the full set of Stata value labels for the database. The core datasets are the non-XYZ-lookup datsets for a CPRD database, together with a dataset with 1 observation per practice and a dataset with 1 observation per patient. The user may modify the template do-files for the user's own requirements, and/or produce additional do-files to input other kinds of CPRD text datasets into Stata. The template do-files may be modified by the user. They include a do-file to produce the lookups, a do-file to produce the practice dataset, a do-file to produce the patient dataset, and a master do-file that calls the other do-files in a sensible order, using the SSC package dolog. The do-files of the cprdcribs package use the SSC package cprdutil. It is probably a good idea to install all of Roger Newson's Stata packages before using these do-files. This installation can be done using one of the instasisay packages, downloadable from Roger Newson's website.
Language: Stata
Requires: Stata version 13
Keywords: data management; CPRD (search for similar items in EconPapers)
Date: 2017-08-17, Revised 2017-10-21
Note: This module may be installed from within Stata by typing "ssc install cprdcribs". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations:
Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/c/create.do program code (text/plain)
http://fmwww.bc.edu/repec/bocode/l/lookups.do program code (text/plain)
http://fmwww.bc.edu/repec/bocode/p/patient.do program code (text/plain)
http://fmwww.bc.edu/repec/bocode/p/patientyear.do program code (text/plain)
http://fmwww.bc.edu/repec/bocode/p/practice.do program code (text/plain)
http://fmwww.bc.edu/repec/bocode/c/cprdcribs.sthlp help file (text/plain)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s458392
Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php
Access Statistics for this software item
More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().