ftrain / deaths

Indexing tools to analyze and understand the SSDM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Social Security Deaths Database

Converting the deaths to sqlite3

  1. Expect the current directory to grow to ~22GB.
  2. Put all the zipped death files into the data dir.
    1. sqlite3 deaths.db < 1_setup_deaths_db.sql
  3. Convert the data (takes a while)
    1. ./zips2sql.sh > deaths.sql
    2. OR, if you like PV; ./zips2sql.sh |pv -s 9g > deaths.sql
  4. Actually import the deaths
    1. sqlite3 deaths.db < deaths.sql
  5. Run all the indexes/virtual table stuff
    1. sqlite3 < 2_index_deaths.sql

About

Indexing tools to analyze and understand the SSDM


Languages

Language:Python 76.3%Language:Perl 10.1%Language:PLpgSQL 7.7%Language:Awk 5.0%Language:Shell 1.0%