sparql_query {WikidataR}R Documentation

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

...

Additional parameters to supply to [httr::POST]

Value

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


[Package WikidataR version 2.3.3 Index]