forked from opencitations/index
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.ini
101 lines (92 loc) · 2.67 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
[identifier]
pmid=oc.index.identifier.pmid:PMIDManager
doi=oc.index.identifier.doi:DOIManager
metaid=oc.index.identifier.metaid:MetaIDManager
[logging]
# If set to 1 the logs will be printed in console, by default
# they are only saved in ~/.opencitations/index/logs
verbose=1
# Legacy data source info (using csv)
[csv]
valid_doi=path/to/valid_doi
id_date=path/to/id_date
id_orcid=path/to/id_orcid
id_issn=path/to/id_issn
# Redis data source info
[redis]
host=127.0.0.1
port=6379
batch_size=10000
db=0
[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=true
# Comma seperated available services
services=COCI,NOCI,CROCI,DOCI
# Available identifiers type
identifiers=doi,pmid,metaid
[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=
[COCI]
prefix=020
parser=oc.index.parsing.crossref:CrossrefParser
validator=oc.index.validate.crossref:CrossrefValidator
source=https://api.crossref.org/works/[[citing]]
agent=https://w3id.org/oc/index/prov/pa/1
baseurl=https://w3id.org/oc/index/coci/
idbaseurl=http://dx.doi.org/
service=OpenCitations Index: COCI
datasource=redis
identifier=doi
[NOCI]
prefix=0160
parser=oc.index.parsing.nih:NIHParser
source=https://doi.org/10.35092/yhjc.c.4586573
agent=https://w3id.org/oc/index/prov/ra/1
baseurl=https://w3id.org/oc/index/noci/
idbaseurl=https://pubmed.ncbi.nlm.nih.gov/
service=OpenCitations Index: NOCI
datasource=redis
identifier=pmid
[CROCI]
prefix=050
parser=oc.index.parsing.crowdsourced:CrowdsourcedParser
source=https://doi.org/10.5281/zenodo.3832935
agent=https://orcid.org/0000-0003-0530-4305
baseurl=https://w3id.org/oc/index/croci/
idbaseurl=https://w3id.org/oc/
service=OpenCitations Index: CROCI
datasource=redis
identifier=metaid
[DOCI]
prefix=080
parser=oc.index.parsing.datacite:DataciteParser
source=api datacite guardare crossref [[citing]]
agent=
baseurl=
idbaseurl=
service=OpenCitations Index: DOCI
datasource=redis
identifier=doi