@@ -72,7 +72,7 @@ There are two ways to create items:
7272paris_item <- copy_wikidata_item(
7373 qid_on_wikidata = "Q90", # check https://www.wikidata.org/wiki/Q90
7474 qid_equivalence_property = NULL, # we will get back to this later
75- languages = c("en", "fr", "nl"), # select languages with 2-letter codes
75+ language = c("en", "fr", "nl"), # select language with 2-letter codes
7676 wikibase_api_url = "https://reprexbase.eu/jekyll/api.php", # Wikibase address
7777 data_curator = person("Jane", "Doe"), # Your name should go in here !
7878 log_path = tempdir(), # You can add a location where you save log file
@@ -141,7 +141,7 @@ it is saved in `e20`. If the action was successul, which you can check with `e20
141141capital_cities <- copy_wikidata_property(
142142 qid_on_wikidata = c("Q2807", "Q3114", "Q1490"),
143143 qid_equivalence_property = "P35", # use your Wikibase instance's number
144- languages = c("en", "nl", "hu", "es" ),
144+ language = c("en", "nl", "hu", "es" ),
145145 wikibase_api_url = "https://reprexbase.eu/jekyll/api.php",
146146 data_curator = person("Joe", "Doe"),
147147 log_path = tempdir(),
@@ -168,7 +168,7 @@ Properties connect new information to your items (nodes.) Such properties need t
168168p21 <- copy_wikidata_property(
169169 pid_on_wikidata = "P21",
170170 pid_equivalence_property = "P2", # You need to change this to your numbering
171- languages = c("en", "hu"),
171+ language = c("en", "hu"),
172172 wikibase_api_url = "https://reprexbase.eu/jekyll/api.php",
173173 data_curator = person("Jane", "Doe"), # Replace it with your name
174174 csrf = my_csrf
@@ -257,7 +257,7 @@ You can copy many properties at once, too, but only with the same language, cura
257257spotify_id_properties <- copy_wikidata_property(
258258 pid_on_wikidata = c("P2207", "P2205", "P8704"),
259259 pid_equivalence_property = "P2", # use the P number on your Wikibase instance
260- languages = c("en", "nl", "hu" ),
260+ language = c("en", "nl", "hu" ),
261261 wikibase_api_url = "https://reprexbase.eu/jekyll/api.php",
262262 data_curator = person("Jane", "Doe"),
263263 log_path = tempdir(),
0 commit comments