Nstojan1 Week 8
Jump to navigation
Jump to search
Purpose
- The purpose of this assignment is to learn now to enter data sets into Access and practice creating queries similar to find certain information from the tables imported from the FDA database.
Methods
- Firstly I began by downloading all the files from the FDA database and unzipping them. I then opened the 'new database' in Access and then went to 'external databases' to add the tables that were downloaded from the FDA Drug Database. Once on the 'external database' I selected 'form file' and then 'text file'. When importing the files, I made sure that the fields matched up correctly with the schema. I then created queries and used the SLQ function to find certain information. To do this I went to the 'create ' tab and clicked 'query design' a window then popped up with a list of my tables and I selected the 'Products' table and then'Ok'. I then clicked 'SLQ' entered the information to find specific drug products and clicked 'Run' to get a result.
- Download Files can be found here: File:Datfda20240312.zip
- Database: File:Database Natalija.zip
Results
- What are the names of the drug products that are administered in the form INJECTABLE;INTRAVENOUS, SUBCUTANEOUS?
- Query 1
- What are the names of the drug products whose active ingredient (activeingred) is ATROPINE?
- Query 2
- In what forms and dosages can the drug product named BENADRYL be administered?
- Query 3
- Which drug products have a name ending in ESTROL?
- Query 4
- Produce a table listing all of the known values for the therapeutic_potential column in the application table and how many application records there are of each. (Side note: The therapeutic_potential codes are explained in the ReviewClass_Lookup.txt file, in case you’re interested.)
- No content was found when searching the database.
- Produce a table listing all of the known values for the chemical_type column in the application table and how many application records there are of each. (Side note: The chemical_type codes are explained in the ChemTypeLookup.txt file, in case you’re interested.)
- No content was found when searching the database.
- What are the names of the drug products that are sponsored (sponsor applicant column) by MERCK?
- Query 5
- Which sponsor applicant companies have the text LABS in their names and have products whose active ingredients (activeingred) include both ASPIRIN and CAFFEINE?
- Query 6
- Also answer, would you have been able to answer these questions using the web interface that the FDA provides to this database (Drugs@FDA?)
Scientific Conclusion
My main findings for this project was how to use queries as a search function with the help of SLQ to find the different drugs products, sponsors and drugs with certain active ingredients. The purpose was fulfilled for most of the questions since I got an answer, however, for two of the questions, the content wasn't in the database. Another main finding other than creating queries and using SLQ was building relationships between tables and learning how to relate them when writing the SLQ.