IDEAS home Printed from https://ideas.repec.org/c/boc/bocode/s458392.html
 

CPRDCRIBS: Stata module providing template do-files for inputting CPRD datasets into Stata

Author

Listed:
  • Roger Newson

    (King's College London)

Programming Language

Stata

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.

Suggested Citation

  • Roger Newson, 2017. "CPRDCRIBS: Stata module providing template do-files for inputting CPRD datasets into Stata," Statistical Software Components S458392, Boston College Department of Economics, revised 21 Oct 2017.
  • Handle: RePEc:boc:bocode:s458392
    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.
    as

    Download full text from publisher

    File URL: http://fmwww.bc.edu/repec/bocode/c/create.do
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/l/lookups.do
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/p/patient.do
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/p/patientyear.do
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/p/practice.do
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/c/cprdcribs.sthlp
    File Function: help file
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    data management; CPRD; Stata;
    All these keywords.

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:boc:bocode:s458392. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F Baum (email available below). General contact details of provider: https://edirc.repec.org/data/debocus.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.