Description
Need to map CAS numbers to UNII - see this article: https://www.nlm.nih.gov/pubs/techbull/ja12/ja12_fda_unii.html
Example of data in website form: https://www.ncbi.nlm.nih.gov/books/NBK501449/
🆒 Note alternatives - could link to RXCUIs.
Source Links
Download
# importing the "tarfile" module
import tarfile
# open file
file = tarfile.open('gfg.tar.gz')
# extracting file
file.extractall('./Destination_FolderName')
file.close()
Once extracted, you get a folder with a PDF and an “NXML”(?) file for each ingredient.
Example of a few ingredients:
voriconazole.nxml6.1KB
voriconazole.pdf100.2KB
vecuronium.nxml9.1KB
vecuronium.pdf105.8KB
LM217.nxml7.2KB
LM217.pdf102.9KB
acamprosate.nxml5.8KB
acamprosate.pdf98.9KB