sparql_query: Download full Wikidata items matching a sparql query

Description Usage Arguments Value

View source: R/queries.R

Description

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

Usage

1
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


WikidataR documentation built on Nov. 16, 2021, 5:07 p.m.