select: SELECT

View source: R/select.R

selectR Documentation

SELECT

Description

SELECT

Usage

select(.data, ..., distinct = FALSE)

select_(.data, ..., .dots, distinct = FALSE)

Arguments

.data

input. This can be JSON input, or an object of class sparql_dsl that has JSON and query params combined, which is passed from function to function when using the sparqldsl DSL.

...

Comma separated list of unquoted variable names

distinct

(logical) whether to use distinct in select statement. Default: FALSE

.dots

Used to work around non-standard evaluation

dots

dots

Examples

## Not run: 
### SELECT * WHERE { ?s ?p ?o } OFFSET 100 LIMIT 10
### query = sparql.select.where([:s, :p, :o]).offset(100).limit(10)
sparql_dsl("http://dbpedia.org/sparql") %>%
 select() %>%
 where(s, p, o) %>%
 limit(10)

## End(Not run)

ropenscilabs/sparqldsl documentation built on May 18, 2022, 8:32 p.m.