Initial commit of ClinicalTrials.gov XML munging.
Fleshed out the Python script. Process the date fields.
Moved the weeding logic from R into Python
Save time by skipping studies not included in Prayle, et al. Also, include more info in the XSLT output
Fixed fine calculation algorithm. Added results date to XSLT.
Calculate fines by sponsor class.
Add the DB population script. Doesn't add anything to the DB yet, but sets it up and is adept at pulling strings out of the XML
Parsing the files half-works (still need to work on the elements providing text). The initial DB insertion works fully, though.
Insert all the countries on the the countries table. Uses UNIQUE and OR IGNORE.
Fixed SQLite FOREIGN KEY errors by moving them AFTER all the column declaractions. Fleshed out the trial insertion, less dates.
Added dates to the SQL.
Added a field for whether the trial was included in the Prayle study or not. Now inserting interventions in the DB. Cleaned up the addTrial() method.
Added --startID to skip initial NCT IDs.
Ignore dates older than the epoch. File cleanup.
Made trialsDB into a module.
Added some CLI args and made --short the much more flexible --limit.
Created a new module called trialCharts to make the charts from the database.
Fleshed out the trialCharts module. Added JSON parsing and the beginnings of the JS structure for displaying the generated charts.
Changed the structure of the modules, creating just a single module called "ctrials" to keep both the db and charts code in.
Added a utils file for common functions. Fixed the JS to take an argument. Changed the args accepted by the trials script again to include a positional DB argument.