You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-2Lines changed: 20 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -172,8 +172,26 @@ information, a server (server) if the Wikibase instance is not Wikidata and a fl
172
172
The last parameter will do a partial merge for all statements which do not conflict. This should generally be avoided because it
173
173
leaves a crippled item in Wikidata. Before a merge, any potential conflicts should be resolved first.
174
174
175
-
## Pubmed Articles ##
176
-
The class wdi_core.wdi_helpers.PubmedItem allows you to create article items. Given a PMID, it will create an item representing this journal article. It can also retrieve existing items. This is useful for quickly creating items to use in reference statements.
175
+
## Adding publication records ##
176
+
The class wdi_core.wdi_helpers. PublicationHelper allows you to create article items. This helper function supports extracting publication records from the following resources:
177
+
* crossref
178
+
* europepmc
179
+
* arxiv
180
+
* biorxiv
181
+
* chemrxiv
182
+
183
+
Given an identifier from above-mentioned resources an item representing this journal article will either be created or fetched.
184
+
185
+
Below is an example snippet to create an item from a DOI:
186
+
187
+
```
188
+
from wikidataintegrator import wdi_core, wdi_login, wdi_helpers
The class wdi_core.wdi_helpers.Release allows you to create an item for a database release. These should be used in reference statements. See [here](https://www.wikidata.org/wiki/User:ProteinBoxBot/evidence#Guidelines_for_Referencing_Databases.2C_Ontologies_and_similar_Web-native_information_entities.)
0 commit comments