Malverso Week 6

From LMU BioDB 2015
Revision as of 23:50, 14 October 2015 by Malverso (Talk | contribs) (completed #1 for Product.txt)

Jump to: navigation, search

FDA Drug Database

Direct Download/Unzipping Commands

  • I logged onto PuTTy and also brought up my public folder on the web browser at the web address my.cs.lmu.edu/~malverso/
  • I downloaded and unzipped my files through the command line, using the curl and unzip commands.
  • I put the untouched file onto my public web page so I could visually see my progress.
  • My database is saved under the student account of PgAdminIII under the name FDA-malverso.

#1

application.txt

  • I viewed the application.txt file using the more command to see the column titles, which are:
ApplNo	ApplType	SponsorApplicant	MostRecentLabelAvailableFlag	CurrentPatentFlag	ActionType Chemical_Type	Ther_Potential	Orphan_Code
create table application (ApplNo varchar primary key, ApplType varchar, SponsorApplicant varchar, MostRecentLabelAvailableFlag boolean, CurrentPatentFlag boolean, ActionType varchar, Chemical_Type varchar, Therapeutic_Potential varchar, Orphan_Code varchar)


Product.txt

  • I viewed the Product.txt file using the more command to see the column titles, which are:
ApplNo	ProductNo	Form	Dosage	ProductMktStatus	TECode	ReferenceDrug	drugname	activeingred 
  • I created a table for Product.txt using this command:
create table Product(ApplNo varchar, productNo varchar, Form varchar, Dosage varchar, ProductMktStatus int, TECode varchar, ReferenceDrug boolean, Drugname varchar, Activeingred varchar)


Team Page

Heavy Metal HaterZ

Assignments

Individual Journal Entries

Shared Journal Entries