Description Usage Arguments Value Author(s) References See Also Examples
Uploads a data table into a database (more info in http://www.voservices.net/skyquery).
1 | SkyQuery.uploadTable(uploadData, tableName, datasetName="MyDB", format="csv")
|
uploadData |
data table, for now accepted in CSV string format. |
tableName |
name of table (string) within dataset. |
datasetName |
name of dataset or database context (string). |
format |
format of the 'data' parameter. Set to 'csv' for now. |
Returns TRUE if the table was uploaded successfully. 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 SkyQuery API returns an error.
Manuchehr Taghizadeh-Popp <mtaghiza@jhu.edu>
http://www.sciserver.org
http://www.voservices.net/skyquery
http://www.github.com/sciserver/SciScript-R
SkyQuery.listQueues
, SkyQuery.listAllDatasets
, SkyQuery.getDatasetInfo
, SkyQuery.listDatasetTables
, SkyQuery.getTableInfo
, SkyQuery.listTableColumns
, SkyQuery.getTable
, SkyQuery.dropTable
, SkyQuery.uploadTable
.
1 | result = SkyQuery.uploadTable("Column1,Column2\n4.5,5.5\n", tableName="myTable", datasetName="MyDB", format="csv")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.