-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig.py
38 lines (35 loc) · 2.49 KB
/
config.py
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
import os
dirname = os.path.dirname(__file__)
config = {
# snapshots
'primary_snapshot_url': 'https://api.gsa.gov/technology/site-scanning/data/weekly-snapshot.csv',
'all_snapshot_url': 'https://api.gsa.gov/technology/site-scanning/data/weekly-snapshot-all.csv',
'unique_snapshot_url': 'https://api.gsa.gov/technology/site-scanning/data/weekly-snapshot-unique.csv',
'target_url_list_url': 'https://raw.githubusercontent.com/GSA/federal-website-index/main/data/site-scanning-target-url-list.csv',
# report file locations
'primary_snapshot_report_location': os.path.join(dirname, './reports/snapshot-primary.csv'),
'all_snapshot_report_location': os.path.join(dirname, './reports/snapshot-all.csv'),
'unique_url_report_location': os.path.join(dirname, './reports/unique-url.csv'),
'unique_website_report_location': os.path.join(dirname, './reports/unique-website.csv'),
'target_url_list_report_location': os.path.join(dirname, './reports/target-url-list.csv'),
# unique url and website file locations
'initial_dataset_location': os.path.join(dirname, './unique_website_list/results/initial_dataset.csv'),
'unique_final_urls_location': os.path.join(dirname, './unique_website_list/results/weekly-snapshot-unique-final-urls.csv'),
'unique_final_websites_location': os.path.join(dirname, './unique_website_list/results/weekly-snapshot-unique-final-websites.csv'),
'removed_final_urls_location': os.path.join(dirname, './unique_website_list/results/removed-final-urls.csv'),
'removed_final_url_websites_location': os.path.join(dirname, './unique_website_list/results/removed-final-url-websites.csv'),
# idea report
'idea_report_location': os.path.join(dirname, './reports/idea.csv'),
'idea_bureau_report_location': os.path.join(dirname, './reports/idea-bureau.csv'),
# standards report
'standards_report_location': os.path.join(dirname, './reports/standards.csv'),
'standards_bureau_report_location': os.path.join(dirname, './reports/standards-bureau.csv'),
# baseline report
'baseline_report_location': os.path.join(dirname, './reports/market.csv'),
# base consumer report
'base_consumer_report_location': os.path.join(dirname, './snapshots/base_consumer.csv'),
# missing target urls in snapshot report
'missing_target_url_report_location': os.path.join(dirname, './reports/missing-target-url-in-snapshot.csv'),
# federal standards snapshot
'federal_standards_snapshot_url': os.path.join(dirname, './snapshots/standards.csv')
}