powered by
Parses the ECMDB, returns data table with columns compoundname, description, charge, formula and structure (in SMILES)
build.ECMDB(outfolder, testMode = FALSE)
Which folder to save temp files to?
run in test mode? Only parses first ten compounds
data table with parsed database
getURL str_match download.file,unzip fromJSON rbindlist
getURL
str_match
download.file
unzip
fromJSON
rbindlist
# NOT RUN { build.ECMDB(outfolder=tempdir(), testMode=TRUE) # }
Run the code above in your browser using DataLab