/rpdrtools

Library of utility functions for handling RPDR (Research Patient Data Registry) data.

Primary LanguagePython

rpdrtools

This repository contains utility functions and recipes for handling RPDR (Research Patient Data Registry) data.

Installation

pip install git+https://github.com/lindvalllab/rpdrtools.git

Example

Reading an RPDR file in to a Pandas DataFrame:

from rpdrtools.io import read_file

path = "PATH/TO/YOUR/RPDR_FILE.txt"
df = read_file(path)

Output:

      EMPI EPIC_PMRN MRN_Type     MRN ...
0   012345    012345      MGH  543210 ...
1   456789    456789      MGH  987654 ...

Contributing

Besides contributing to the repo itself, there are many ways to contribute to this project: