sparql_to_tibble: Fetch results of a SPARQL query to a tibble

View source: R/wikibase-sparql.R

sparql_to_tibbleR Documentation

Fetch results of a SPARQL query to a tibble

Description

Fetch results of a SPARQL query to a tibble

Usage

sparql_to_tibble(query, endpoint, useragent)

Arguments

query

SPARQL query as a string

endpoint

SPARQL endpoint of a Wikibase instance

useragent

default: paste("Wikibase", R.version.string)

Examples

## Not run: 
addresses_in_munich <- 'SELECT ...'
endpoint <- "https://database.factgrid.de/sparql"
sparql_tibble <- sparql_to_tibble(query = addresses_in_munich, endpoint = endpoint)

## End(Not run)

cutterkom/kabrutils documentation built on July 3, 2022, 4:04 p.m.