{ "info": { "author": "Kyle Barron", "author_email": "barronk@mit.edu", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "# medicare_utils\n\n\n\n\n\n\n\nScripts to assist working with Medicare data.\n\n\n\n\n## Features\n\nProvides the class `MedicareDF`. This class contains some canned scripts to make common tasks easier. It currently contains two functions:\n- `get_cohort()`, which uses the beneficiary summary file to find a set of medicare beneficiaries according to options given to the function.\n- `search_for_codes()`, which searches for HCPCS, ICD-9 diagnosis, and/or ICD-9 procedure codes in a given type of file.\n\n## Installation\n\nInstall the package with:\n```\npip install git+https://github.com/kylebarron/medicare_utils --upgrade\n```\n\n## Usage\n\nThe class is initialized with\n```py\nimport medicare_utils as med\nmdf = med.MedicareDF('05', range(2010, 2013))\nmdf.get_cohort(gender='female', ages=range(65, 75))\nmdf.search_for_codes(2010, 'med', icd9_diag='41071')\n```\n\nIt has attributes that refer to different levels of the data, when applicable:\n- `mdf.pl`: patient-level data. Here the index of the data is `bene_id` for data post-2005, or `ehic` for data pre-2005.\n- `mdf.cl`: claim-level data.\n\n\n\nHistory\n=======\n\n0.0.1 (2018-03-01)\n------------------\n\n- First release on PyPI.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/kylebarron/medicare_utils", "keywords": "medicare_utils", "license": "MIT license", "maintainer": "", "maintainer_email": "", "name": "medicare_utils", "package_url": "https://pypi.org/project/medicare_utils/", "platform": "", "project_url": "https://pypi.org/project/medicare_utils/", "project_urls": { "Homepage": "https://github.com/kylebarron/medicare_utils" }, "release_url": "https://pypi.org/project/medicare_utils/0.0.2/", "requires_dist": null, "requires_python": "", "summary": "Scripts to assist working with Medicare data.", "version": "0.0.2" }, "last_serial": 3770059, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "6d996358fd67304bac7956bd0611db2c", "sha256": "bc2dc07e3926709a5ae560b55fa8e33d42c6611d092d0ff9dcde1e090a416f50" }, "downloads": -1, "filename": "medicare_utils-0.0.1.tar.gz", "has_sig": false, "md5_digest": "6d996358fd67304bac7956bd0611db2c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23525, "upload_time": "2018-03-12T17:03:52", "url": "https://files.pythonhosted.org/packages/b0/4b/9b8d381a40bc47972b9dfa402c84a323c031f9d73f3835861acae9e44bca/medicare_utils-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "146de4ab4a3ff17234a6be06b0a85b4f", "sha256": "ba2567f52f7bc017e99b0ff15f7925bd4db8ceeb77e439690a3817ebfce30d18" }, "downloads": -1, "filename": "medicare_utils-0.0.2.tar.gz", "has_sig": false, "md5_digest": "146de4ab4a3ff17234a6be06b0a85b4f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 37340, "upload_time": "2018-04-16T18:17:44", "url": "https://files.pythonhosted.org/packages/f5/71/ffb5b2e0779738c45d0da77cdf0c9418e1f837071dc82dcc5ec84ad726a0/medicare_utils-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "146de4ab4a3ff17234a6be06b0a85b4f", "sha256": "ba2567f52f7bc017e99b0ff15f7925bd4db8ceeb77e439690a3817ebfce30d18" }, "downloads": -1, "filename": "medicare_utils-0.0.2.tar.gz", "has_sig": false, "md5_digest": "146de4ab4a3ff17234a6be06b0a85b4f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 37340, "upload_time": "2018-04-16T18:17:44", "url": "https://files.pythonhosted.org/packages/f5/71/ffb5b2e0779738c45d0da77cdf0c9418e1f837071dc82dcc5ec84ad726a0/medicare_utils-0.0.2.tar.gz" } ] }