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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fdata-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 05b8d7cf327670eed9ba691b9a235b29c19b5a53beaf3cf4f4e09d4ecd76f702
MD5 4a81edcc1943b9d0bfa9976f4774f28b
BLAKE2b-256 053d9907b79b608c6a3472b0154cfbe04f5baa0010eca0e03494c42e6ed1345e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fdata-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 496297c244018b0c92619cc01a5cd24b505e39005acd368ed7d9a0025e1d78cf
MD5 945ea53abf4e853be652249bf1c57827
BLAKE2b-256 a324187492eedf5a8088c5055c3c84b59a4c51195d8d62688af72c5611a429cd

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