FDA data cleaning and dataset creation tool
Project description
fdata
This tool is meant for the cleaning and creation of custom tables using FDA Adverse Event Reporting System (FAERS) data.
Download whichever quarterly files (ASCII format) you wish to analyze, and utilize these functions to expedite cleaning and organization for your project!
Installation
Run the following to install:
pip install fdata
Note: if there are empty lists initialized before the definition, the final output of the function will be attached to these built-in lists. See example below.
Usage
import fdata as fd
drug_file = pd.read_csv(‘DRUG20Q1.txt’, delimiter=‘$’)
fd.sorter(drug_file)
…
“Check ‘class_dfs’, ‘missing_dfs’, ‘new_files’, ‘positives’, and ‘inds’ for output”
class_dfs = fd.class_dfs
missing_dfs = fd.missing_dfs
print(class_dfs)
print(missing_dfs)
See function documentation for further details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file fdata-0.2.3.tar.gz
.
File metadata
- Download URL: fdata-0.2.3.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e299cc2ff2d0b4913e65d00c985b6ef8d68434c1e9cb48aaff8db248b3ae1a1e |
|
MD5 | 167fdca3e42bb80e3ff5b54eadc788f2 |
|
BLAKE2b-256 | 9375807b14b6a3b8dce8d432da54acec99ff5df4342efe45df8febf8e59c666f |
File details
Details for the file fdata-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: fdata-0.2.3-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a82ce8187fce8374cff5ff3891b55346533a9a4973730b9d1e16a19e5b727e5 |
|
MD5 | 0d4afb31b11bad7e8259a95e6a7434e4 |
|
BLAKE2b-256 | ec8c52f35391d9f45b8ec60ef7f9a63d668526d7ae54af7e071894442f776bba |