I wonder whether the endpoint and request type should actually be arguments of spq_init().
Then an user could create a basic query object at the beginning of a script and use it in all other calls.
An alternative would be to have options as default for spq_perform(endpoint = getOption("glitter.endpoint", "Wikidata")) which is something we have for some other spq_perform() arguments!
I wonder whether the endpoint and request type should actually be arguments of
spq_init()
.Then an user could create a basic query object at the beginning of a script and use it in all other calls.
An alternative would be to have options as default for
spq_perform(endpoint = getOption("glitter.endpoint", "Wikidata"))
which is something we have for some otherspq_perform()
arguments!