-
Notifications
You must be signed in to change notification settings - Fork 1
/
project.cfg.example
94 lines (83 loc) · 1.5 KB
/
project.cfg.example
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
[GENERAL]
#set type excel else others
type = excel
sheet = 0
file = xxx.csv
# Specify delimiter to use into double quote
delimiter = ";"
encoding = utf-8
engine = c
# Don't set value if you don't want to merge the file
flag_merge = 1
# Don't set value if you don't want to modify values in file
flag_modify =
[COLUMNSGENERAL]
0 = link
1 = title
2 = cover
4 = publisher
5 = description
7 = authors
8 = isbn
9 = price
10 = language
12 = advertiser
13 = genres
14 = category
[STATISTICSCOLS]
col1 =
col2 =
[SUMMARY]
results_file = xxx.csv
[MERGEFILE]
file = xxx.csv
on = isbn
delimiter = ";"
encoding = utf-8
engine = c
#set original column name and the new column name
[MODIFIERSNAMES]
genres = genre
#set the columns you want to modify
[MODIFIERSCOLS]
col1 =
col2 =
col3 =
#set original value and the new value to substitute
[MODIFIERSVALUES]
nan =
example = test
(Vuoto) =
# key is new name and use sum to set cols to merge
[MERGECOLS]
new_column = column1 + column2
#specify column to delete
[DROPCOLUMNS]
0 = link
[INGESTION]
url_api =
url_api_test =
status_code = 201
file = data.csv
chunkrows = 10000
start = 1
# Don't set value of parameter above if you want to read all file
rows_to_read = 5
# Specify (into double quote) delimiter to use
delimiter = ","
encoding = utf-8
engine = c
#key column correspond to position of the column into the file
[COLUMNSINGESTION]
0 = link
1 = title
2 = cover
3 = publisher
4 = description
5 = authors
6 = isbn
7 = price
8 = language
9 = advertiser
10 = genres
11 = category