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.1.5.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fdata-0.1.5-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file fdata-0.1.5.tar.gz.

File metadata

  • Download URL: fdata-0.1.5.tar.gz
  • Upload date:
  • Size: 11.0 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.1.5.tar.gz
Algorithm Hash digest
SHA256 cd54cee1e6d58d714e6e49d25e6414ba5570db84d52802f16122b4167a3256d5
MD5 56e6407ab8a92cbbfd01ee5243f5066d
BLAKE2b-256 d9d864d717d9ddaa335f03133a6578b4d811c837ffc2b00f38bbed4e28cc436b

See more details on using hashes here.

File details

Details for the file fdata-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: fdata-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 10.9 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.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 34428c9e5fce3f0119dcf5fd68bf7aa114f720f712d1a5443a52bd0f2ca872b9
MD5 80c559402a10f72786a75e2532b3a23f
BLAKE2b-256 77510cdb58d84cbcc0bc1435c955a81dfedde2c0dea27d7e6ae0fd1a2ff8c0c6

See more details on using hashes here.

Supported by

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