-
Notifications
You must be signed in to change notification settings - Fork 1
/
settings.py.backup
48 lines (42 loc) · 1.81 KB
/
settings.py.backup
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
"""
Settings for msp_metadata repository
"""
# OCL API Tokens
OCL_API_TOKEN = ''
# DATIM DHIS2 Account
DATIM_USERNAME = 'jpayne'
DATIM_PASSWORD = '21LQ4@dWTVj4Zf!U'
# VERBOSITY: Set verbosity level during processing:
# 1 - Summary information only
# 2 - Display detailed report
# 3 - Display debug info
# 4 - Display all info
VERBOSITY = 4
# Output filename: "%s"s are replaced with MSP_ORG_ID, YYYYMMDD, and filenum
OUTPUT_FILENAME = 'output/msp_%s_%s.json'
OUTPUT_OCL_FORMATTED_JSON = True # Creates the OCL import JSON
# Set org/source ID, input/output periods
MSP_ORG_ID = 'PEPFAR-MER-FY22'
MSP_SOURCE_ID = 'MER'
CANONICAL_URL = 'https://datim.org'
MSP_INPUT_PERIODS = ['FY16', 'FY17', 'FY18', 'FY19', 'FY20', 'FY21', 'FY22'] # List of all input periods
IHUB_NUM_RUN_SEQUENCES = 3 # Number of run sequences for processing IHUB derived DEs
IHUB_RULE_PERIOD_END_YEAR = '2022' # Constant for processing IHUB rule periods
OUTPUT_PERIODS = ['FY16', 'FY17', 'FY18', 'FY19', 'FY20', 'FY21', 'FY22']
# Metadata source files: Updated for FY21
FILENAME_DATIM_CODELISTS = 'data/codelists_RT_FY16_22_20220131.csv'
FILENAME_MER_REFERENCE_INDICATORS = [
'data/mer_indicators_FY16_20220310.csv',
'data/mer_indicators_FY17_20220310.csv',
'data/mer_indicators_FY18_20220310.csv',
'data/mer_indicators_FY19_20220310.csv',
'data/mer_indicators_FY20_20220310.csv',
'data/mer_indicators_FY21_20220310.csv',
'data/mer_indicators_FY22_20220310.csv'
]
FILENAME_DATIM_DATA_ELEMENTS = 'data/datim_dataElements_20220128.json'
FILENAME_DATIM_COCS = 'data/datim_categoryOptionCombos_20220128.json'
FILENAME_DATIM_INDICATORS = 'data/datim_indicators_20220128.json'
FILENAME_DATIM_CODELISTS_WITH_EXPORT = (
'data/codelist_collections_with_exports_FY16_22_20220131.json')
FILENAME_IHUB = 'data/ihub_mer_metadata_as_of_20220217.csv'