Week 6/

From LMU BioDB 2015
Revision as of 19:52, 9 October 2015 by Kwyllie (Talk | contribs) (Started the week 6 assignment...not that I got very far...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Protocol

Protocol - Creating the "Applications" Table

  1. First, download the appropriate FDA file (found on the [website], and unzip it.
  2. View the "application.txt" file and note the column headings.
  3. Open pgAdminIII, login, and create a new table by right-clicking on "Databases" and selecting "New Database."
  4. Open the SQL window. Given the headings in application.txt, the appropriate command to create the table is:

create table Applications_kwyllie (ApplNo int primary key, ApplType varchar, SponsorApplication varchar, MostRecentLabelAvailableFlag varchar, CurrentPatentFlag varchar, ActionType varchar, Chemical_Type int, Ther_potential varchar, Orphan_code varchar)