- search
A string to be searched in Wikidata
- type
Defaults to "item". Either "item" or "property".
- language
Language to be used for the search. Can be set once per
session with tw_set_language(). If not set, defaults to "en". For a full
list, see
the
dedicated Wikimedia page.
- response_language
Language to be used for the returned labels and
descriptions. Corresponds to the uselang parameter of the MediaWiki API,
as described
in
the official documentation. Can be set once per session with
tw_set_language(). If not set, defaults to "en". For a full list, see
all
available language codes.
- cache
Defaults to NULL. If given, it should be given either TRUE
or FALSE. Typically set with tw_enable_cache() or tw_disable_cache().
- include_search
Logical, defaults to FALSE. If TRUE, the search is
returned as an additional column.
- cache_connection
Defaults to NULL. If NULL, and caching is
enabled, tidywikidatar will use a local sqlite database. A custom
connection to other databases can be given (see vignette caching for
details).
- disconnect_db
Defaults to TRUE. If FALSE, leaves the connection to
cache open.