-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
63 lines (56 loc) · 1.66 KB
/
config.yaml
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
meta_tables:
meta_dump_zip: '' # path to the OC Meta dump Zip file
meta_ids_out: 'meta_ids'
all_rows: True
openalex_works:
inp_dir: 'openalex_dump/data/works'
out_dir: 'openalex_tables/works'
entity_type: 'work'
openalex_sources:
inp_dir: 'openalex_dump/data/sources'
out_dir: 'openalex_tables/sources'
entity_type: 'source'
## If needed, add configs for creating the tables of other OpenAlex entity types (authors, funders, publishers, institutions) E.g.:.
#openalex_authors:
# inp_dir: 'openalex_input/data/authors'
# out_dir: 'output_openalex_ids/authors'
# entity_type: 'author'
db_works_doi:
inp_dir: 'openalex_tables/works'
db_path: 'openalex.db'
id_type: 'doi'
entity_type: 'work'
db_works_pmid:
inp_dir: 'openalex_tables/works'
db_path: 'openalex.db'
id_type: 'pmid'
entity_type: 'work'
db_works_pmcid:
inp_dir: 'openalex_tables/works'
db_path: 'openalex.db'
id_type: 'pmcid'
entity_type: 'work'
db_sources_issn:
inp_dir: 'openalex_tables/sources'
db_path: 'openalex.db'
id_type: 'issn'
entity_type: 'source'
db_sources_wikidata:
inp_dir: 'openalex_tables/sources'
db_path: 'openalex.db'
id_type: 'wikidata'
entity_type: 'source'
## If needed, add config for other id and OpenAlex entity types (authors, funders, publishers, institutions) See example below.
#db_authors_orcid:
# inp_dir: ''
# db_path: 'openalex.db'
# id_type: 'orcid'
# entity_type: 'author'
mapping:
inp_dir: 'meta_ids/primary_ents'
db_path: 'openalex.db'
out_dir: 'mapping_output/mapped'
multi_mapped_dir: 'mapping_output/multi_mapped'
non_mapped_dir: 'mapping_output/non_mapped'
type_field: True
all_rows: True