# NOT RUN {
# Add a statement to the "Wikidata sandbox" item (Q4115189)
# to say that it is an "instance of" (P31) of Q1 (the universe).
# The instruction will submit directly to wikidata via the API
# (if you include your wikimedia username and token)
# }
# NOT RUN {
write_wikidata(items = "Wikidata Sandbox",
properties = "instance of",
values = "Q1",
format = "api",
api.username = "myusername",
api.token = , #REDACTED#
)
# }
# NOT RUN {
#note:
# }
Run the code above in your browser using DataLab