-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathconfig.ini
executable file
·111 lines (100 loc) · 3.27 KB
/
config.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
[identifier]
pmid=oc.index.identifier.pmid:PMIDManager
doi=oc.index.identifier.doi:DOIManager
omid=oc.index.identifier.omid:OMIDManager
[logging]
# If set to 1 the logs will be printed in console, by default
# they are only saved in ~/.opencitations/index/logs
verbose=1
# Redis data source info
[redis]
host=127.0.0.1
port=6379
batch_size=10000
[cnc]
# ORCID API key to be used to query the ORCID API
orcid=
# Lookup table for oci encoding
lookup=~/.opencitations/index/lookup.csv
# True whenever you want to use the api in the resource finder
use_api=false
# Comma seperated available services
services=COCI,POCI,CROCI,DOCI,JOCI,INDEX
# Available identifiers type
identifiers=doi,pmid,omid
# All BR IDs handled in META
br_ids=doi,issn,isbn,pmid,pmcid,url,wikidata,wikipedia,jid,arxiv,openalex
# All RA IDs handled in META
ra_ids=crossref,orcid,viaf,wikidata,ror
# Redis all citations in OpenCitations INDEX – <CITED-OMID>:[ <CITING-OMID-1>, <CITING-OMID-2>, ..., <CITING-OMID-N> ]
db_cits=8
# Redis OMID DB – <OMID>:<ANYID> (general index for OMIDs)
db_omid=9
# Redis BR DB – <ANYID>:<OMID> (ANYID is any BR identifier)
db_br=10
# Redis RA DB – <ANYID>:<OMID> (ANYID is any RA identifier)
db_ra=11
[CNC_SERVICE_TEMPLATE]
# Prefix to use for creating the OCIs
prefix=
# Parser to use for reading citation data. It should be a class extending
# oc.index.parsing.base.CitationParser the format accepted is package:class
parser=
# The URL of the source from where the citation data have been extracted
source=
# The URL of the agent providing or processing the citation data
agent=
# The base URL of the dataset
baseurl=
# The base URL of the identifier of citing and cited entities, if any
idbaseurl=
# The name of the service that will made available the citation data.
service=
# The type of datasource to use. The available datasources are csv and redis
datasource=
# The identifier used for cited and citing
identifier=
[INDEX]
prefix=
parser=oc.index.parsing.index:INDEXParser
validator=oc.index.validate.index:INDEXValidator
source=https://api.crossref.org/snapshots/monthly/2022/10
agent=https://w3id.org/oc/index/prov/pa/1
baseurl=https://w3id.org/oc/index/
idbaseurl=https://w3id.org/oc/meta/
service=OpenCitations Index
datasource=redis
db=12
identifier=omid
[OROCI]
parser=oc.index.parsing.openaire:OpenaireParser
validator=
source=https://doi.org/10.5281/zenodo.7845968
ocdump=
service=OpenCitations Index: OROCI
[COCI]
parser=oc.index.parsing.crossref:CrossrefParser
source=https://api.crossref.org/snapshots/monthly/2023/09/all.json.tar.gz
ocdump=https://doi.org/10.6084/m9.figshare.6741422.v19
service=OpenCitations Index: COCI
identifier=doi
[JOCI]
source=https://api.japanlinkcenter.org/
[POCI]
parser=oc.index.parsing.nih:NIHParser
source=https://doi.org/10.35092/yhjc.c.4586573
ocdump=https://doi.org/10.6084/m9.figshare.21776351.v1
service=OpenCitations Index: POCI
identifier=pmid
[CROCI]
parser=oc.index.parsing.crowdsourced:CrowdsourcedParser
source=https://doi.org/10.5281/zenodo.3832935
ocdump=https://doi.org/10.5281/zenodo.3832935
service=OpenCitations Index: CROCI
identifier=doi
[DOCI]
parser=oc.index.parsing.datacite:DataciteParser
source=https://archive.org/details/datacite_dump_20211022
ocdump=https://doi.org/10.6084/m9.figshare.21707342.v1
service=OpenCitations Index: DOCI
identifier=doi