Skip to content

mlbernauer/FAERS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FAERS

This repository contains files setting up an FAERS Postgres database

Create postgres database faers

sudo -u postgres createdb faers postgres

Create schema

sudo -u postgres psql faers < create-tables.sql

Download FAERS files

# download FAERS file from FDA website
./download.sh

# extract contents
./extract.sh

Load data into tables

Load extracts into Postgres

./load_data.sh

Create indices

sudo -u postgres psql faers < create-indices.sql

About

Repository for downloading, processing, and analyzing FDA Adverse Event Reporting System data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages