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.4.tar.gz (11.1 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.4-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fdata-0.1.4.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.6.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

File hashes

Hashes for fdata-0.1.4.tar.gz
Algorithm Hash digest
SHA256 f8670d58defe93b76105d084de9dd010e1b8ec25eef37f4442e43a821b72d8d8
MD5 f503ff962cdc3dfff6c33d64f3a0b03b
BLAKE2b-256 faf9f8727973facf29461a8d1778745820e4bb6c1a1d0355f4db803d3f1469c4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fdata-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.6.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

File hashes

Hashes for fdata-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a97ae6953abb654904f6e55e540263141e6c6e888161bb24f521f3aae48e487b
MD5 0ff8839e60dcf8bcf242c076a0266a8b
BLAKE2b-256 18e9f0e2a3bafe1117054c683f77afbca0289c719aabd91d0980d30684293231

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