CasJobs.submitJob {SciServer} | R Documentation |
Submits an asynchronous SQL query to the CasJobs queue.
CasJobs.submitJob(sql, context="MyDB")
sql |
sql query |
context |
database context |
Returns the CasJobs jobID (integer). Throws an exception if the user is not logged into SciServer (use Authentication.login
for that purpose). Throws an exception if the HTTP request to the CasJobs API returns an error.
Gerard Lemson, Manuchehr Taghizadeh-Popp
Maintainer: Manuchehr Taghizadeh-Popp <mtaghiza@jhu.edu>
http://www.sciserver.org
http://skyserver.sdss.org/casjobs
http://www.github.com/sciserver/SciScript-R
CasJobs.executeQuery
, CasJobs.getJobStatus
, CasJobs.waitForJob
, CasJobs.cancelJob
.
## Not run: jobid = CasJobs.submitJob("select 1 as foo","MyDB")