Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/FILTERING-get_queryId_results_sdf.R
This function is used to download a single .sdf file from ChemSpider after get_queryId_status() returns "Complete".
1 2 3 4 5 6 7  | get_queryId_results_sdf(
  queryId,
  status,
  apikey,
  decode = TRUE,
  simplify = FALSE
)
 | 
queryId | 
 A valid 36-character ChemSpider   | 
status | 
 A character string indicating the query status as returned by   | 
apikey | 
 A 32-character string with a valid key for ChemSpider's API services.  | 
decode | 
 
  | 
simplify | 
 
  | 
Call this function after get_queryId_status() returns "Complete".
Returns a (base64-encoded) character vector
Raoul Wolf (https://github.com/RaoulWolf/)
https://developer.rsc.org/compounds-v1/apis/get/filter/{queryId}/results/sdf
1 2 3 4 5 6 7  | ## Not run: 
## Get a gzipped .sdf file
queryId <- "a valid 36-character ChemSpider apikey"
apikey <- "a valid 32-character ChemSpider apikey"
get_queryId_results_sdf(queryId = queryId, apikey = apikey)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.