powered by
Parses MACONDA, returns data table with columns compoundname, description, charge, formula and structure (in SMILES)
build.MACONDA(outfolder, testMode = FALSE, conn, apikey)
Which folder to save temp files to?
run in test mode? Only parses first ten compounds
Connection to extended database (MaConDa writes directly to there due to anomalous adducts)
ChemSpider API key
data table with parsed database
str_match download.file,unzip fread pbapply SQLite dbDisconnect fn
str_match
download.file
unzip
fread
pbapply
SQLite
dbDisconnect
fn
# NOT RUN { build.MACONDA(outfolder=tempdir(), testMode=TRUE) # }
Run the code above in your browser using DataLab