Skip to contents

Importing

Work with DataSet objects that resemble the W3C and SDMX datacube model.

get_wikidata_item()
Get item definitions
get_property_definition()
Get property definition
get_claims()
Get claims of an item
left_join_column()
Join a new column by property

Writing

Write to a Wikibase instance

Copying

Copying from a Wikibase instance to another one. Currently only copying from Wikidata works, which is a special instance that does not require authentication.

copy_wikidata_property()
Copy a Wikidata property or properties
check_existing_property()
Check if a label already has an property.
copy_wikidata_item() copy_wikidata_items() copy_wikidata_properties()
Copy a Wikidata item(s)
check_existing_item()
Check if a label already has an item.

Replication Dataset

Pre-downloaded data for tutorials and examples.

wikidata_countries_df
Countries on Wikidata

Utilities

Log in to a Wikibase instance, get CSRF tokens, basic exception handling.

get_csrf() get_csrf_token()
Get CSRF object with security token
is_pid()
Check if a string looks like a PID
is_qid()
Check if a string looks like a QID