SkyQuery.dropTable: Drop table

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/SkyQuery.r

Description

Drops (deletes) a table from the user database (more info in http://www.voservices.net/skyquery).

Usage

1
SkyQuery.dropTable(tableName, datasetName="MyDB")

Arguments

tableName

name of table (string) within dataset.

datasetName

name of dataset or database context (string).

Value

Returns TRUE if the table was deleted 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.

Author(s)

Manuchehr Taghizadeh-Popp <mtaghiza@jhu.edu>

References

http://www.sciserver.org
http://www.voservices.net/skyquery
http://www.github.com/sciserver/SciScript-R

See Also

SkyQuery.listQueues, SkyQuery.listAllDatasets, SkyQuery.getDatasetInfo, SkyQuery.listDatasetTables, SkyQuery.getTableInfo, SkyQuery.listTableColumns, SkyQuery.getTable, SkyQuery.dropTable, SkyQuery.uploadTable.

Examples

1
result = SkyQuery.dropTable("myTable", datasetName="MyDB")

sciserver/SciScript-R documentation built on May 29, 2019, 3:45 p.m.