SGET.shim | R Documentation |
Issue an HTTP GET request.
SGET.shim(db_or_conn, resource, args = list(), err = TRUE, binary = FALSE)
db_or_conn |
scidb database connection object, _or_ its "connection" attribute |
resource |
(string) A URI identifying the requested service |
args |
(list) A list of named query parameters |
err |
(boolean) If true, stop if the server returned an error code |
binary |
(boolean) If TRUE, return binary data, else convert the result to character |
if binary is TRUE, the raw bytes of the response from the server; if binary is FALSE, the text of the response from the server. Stops with "HTTP error $status" if the response's HTTP status code is outside of the 200 (successful) range.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.