Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fdata-0.2.3.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

fdata-0.2.3-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

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

Hashes for fdata-0.2.3.tar.gz
Algorithm Hash digest
SHA256 e299cc2ff2d0b4913e65d00c985b6ef8d68434c1e9cb48aaff8db248b3ae1a1e
MD5 167fdca3e42bb80e3ff5b54eadc788f2
BLAKE2b-256 9375807b14b6a3b8dce8d432da54acec99ff5df4342efe45df8febf8e59c666f

See more details on using hashes here.

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

Hashes for fdata-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0a82ce8187fce8374cff5ff3891b55346533a9a4973730b9d1e16a19e5b727e5
MD5 0d4afb31b11bad7e8259a95e6a7434e4
BLAKE2b-256 ec8c52f35391d9f45b8ec60ef7f9a63d668526d7ae54af7e071894442f776bba

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page