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...)
Protocol
Protocol - Creating the "Applications" Table
- First, download the appropriate FDA file (found on the [website], and unzip it.
- View the "application.txt" file and note the column headings.
- Open pgAdminIII, login, and create a new table by right-clicking on "Databases" and selecting "New Database."
- 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)