Learn R Programming

WikidataR (version 2.3.3)

sparql_query: Download full Wikidata items matching a sparql query

Description

Utility wrapper for wikidata spargle endpoint to download items. Used by get_geo_entity and get_geo_box

Usage

sparql_query(query, ...)

Arguments

query

the sparql query as a string

\dots

Additional parameters to supply to [httr::POST]

Value

a download of the full wikidata objects formatted as a nested json list