synTableQuery.Rd
Query a Synapse Table.
synTableQuery(query, resultsAs="csv", offset=NULL, isConsistent=NULL, quoteCharacter=NULL, escapeCharacter=NULL, lineEnd=NULL, separator=NULL, header=NULL, includeRowIdAndRowVersion=NULL)
query string in a SQL-like syntax, for example
"SELECT * from syn12345"
select whether results are returned as a CSV file ("csv") or incrementally downloaded as sets of rows ("rowset").
optional named parameter: don't return the first n rows, defaults to 0
optional named parameter: (**DEPRECATED**)
optional named parameter: default double quote
optional named parameter: default backslash
optional named parameter: defaults to os.linesep
optional named parameter: defaults to comma
optional named parameter: TRUE by default
optional named parameter: TRUE by default
A Table object that serves as a wrapper around a CSV file (or generator over Row objects if resultsAs="rowset").
if (FALSE) {
tableId<-"syn1234567"
results <- synTableQuery(sprintf("select * from %s where Chromosome='1' and Start < 41000 and End > 20000", tableId))
results$filepath
as.data.frame(results)
}