-
Notifications
You must be signed in to change notification settings - Fork 155
Expand file tree
/
Copy pathbroker_gtas.json
More file actions
89 lines (89 loc) · 7.73 KB
/
broker_gtas.json
File metadata and controls
89 lines (89 loc) · 7.73 KB
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
{
"SELECT fiscal_year, period AS fiscal_period, COALESCE(SUM(CASE WHEN line IN (1033) THEN sf.amount ELSE 0 END), 0.0) AS anticipated_prior_year_obligation_recoveries, COALESCE(SUM(CASE WHEN line IN (1020) THEN sf.amount ELSE 0 END), 0.0) AS adjustments_to_unobligated_balance_brought_forward_fyb, COALESCE(SUM(CASE WHEN line IN (1340,1440) THEN sf.amount ELSE 0 END), 0.0) AS borrowing_authority_amount, COALESCE(SUM(CASE WHEN line IN (1160,1180,1260,1280) THEN sf.amount ELSE 0 END), 0.0) AS budget_authority_appropriation_amount_cpe, COALESCE(SUM(CASE WHEN line IN (1000) THEN sf.amount ELSE 0 END), 0.0) AS budget_authority_unobligated_balance_brought_forward_cpe, COALESCE(SUM(CASE WHEN line IN (1540,1640) THEN sf.amount ELSE 0 END), 0.0) AS contract_authority_amount, COALESCE(SUM(CASE WHEN line IN (1021,1033) THEN sf.amount ELSE 0 END), 0.0) AS deobligations_or_recoveries_or_refunds_from_prior_year_cpe, COALESCE(SUM(CASE WHEN line IN (2190) THEN sf.amount ELSE 0 END), 0.0) AS obligations_incurred, COALESCE(SUM(CASE WHEN line IN (2190) THEN sf.amount ELSE 0 END), 0.0) AS obligations_incurred_total_cpe, COALESCE(SUM(CASE WHEN line IN (1340,1440,1540,1640,1750,1850) THEN sf.amount ELSE 0 END), 0.0) AS other_budgetary_resources_amount_cpe, COALESCE(SUM(CASE WHEN line IN (1061) THEN sf.amount ELSE 0 END), 0.0) AS prior_year_paid_obligation_recoveries, COALESCE(SUM(CASE WHEN line IN (1750,1850) THEN sf.amount ELSE 0 END), 0.0) AS spending_authority_from_offsetting_collections_amount, COALESCE(SUM(CASE WHEN line IN (1910) THEN sf.amount ELSE 0 END), 0.0) AS total_budgetary_resources_cpe, COALESCE(SUM(CASE WHEN line IN (2490) THEN sf.amount ELSE 0 END), 0.0) AS unobligated_balance_cpe, COALESCE(SUM(CASE WHEN line IN (2500) THEN sf.amount ELSE 0 END), 0.0) AS status_of_budgetary_resources_total_cpe, COALESCE(SUM(CASE WHEN line IN (3020) THEN sf.amount * -1 ELSE 0 END), 0.0) AS gross_outlay_amount_by_tas_cpe, COALESCE(SUM(CASE WHEN line IN (1010,1011,1012,1013,1014,1015,1016,1017,1018,1019,1020,1021,1022,1023,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042) AND fiscal_year < 2021 THEN sf.amount * -1 WHEN line IN (1010,1011,1012,1013,1014,1015,1016,1017,1018,1019,1020,1021,1022,1023,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065) AND fiscal_year >= 2021 THEN sf.amount * -1 ELSE 0 END), 0.0) AS adjustments_to_unobligated_balance_brought_forward_cpe, disaster_emergency_fund_code AS disaster_emergency_fund_id, CONCAT( CASE WHEN sf.allocation_transfer_agency is not null THEN CONCAT(sf.allocation_transfer_agency, '-') ELSE null END, sf.agency_identifier, '-', CASE WHEN sf.beginning_period_of_availa is not null THEN CONCAT(sf.beginning_period_of_availa, '/', sf.ending_period_of_availabil) ELSE sf.availability_type_code END, '-', sf.main_account_code, '-', sf.sub_account_code) AS tas_rendering_label, budget_object_class, program_activity_reporting_key AS program_activity_reporting_key_id, prior_year_adjustment, by_direct_reimbursable_fun, bea_category FROM sf_133 sf GROUP BY fiscal_year, fiscal_period, disaster_emergency_fund_code, tas_rendering_label, budget_object_class, program_activity_reporting_key_id, prior_year_adjustment, by_direct_reimbursable_fun, bea_category ORDER BY fiscal_year, fiscal_period;": [
{
"fiscal_year": 1600,
"fiscal_period": "-1",
"budget_authority_unobligated_balance_brought_forward_cpe": "-11",
"adjustments_to_unobligated_balance_brought_forward_cpe": "-11",
"adjustments_to_unobligated_balance_brought_forward_cpe": "-11",
"obligations_incurred_total_cpe": "-10",
"budget_authority_appropriation_amount_cpe": "-11",
"borrowing_authority_amount": "-11",
"contract_authority_amount": "-11",
"spending_authority_from_offsetting_collections_amount": "-11",
"other_budgetary_resources_amount_cpe": "-11",
"obligations_incurred": "-11",
"deobligations_or_recoveries_or_refunds_from_prior_year_cpe": "-11",
"gross_outlay_amount_by_tas_cpe": "-11",
"unobligated_balance_cpe": "-11",
"total_budgetary_resources_cpe": "11",
"status_of_budgetary_resources_total_cpe": "11",
"disaster_emergency_fund_id": "A",
"tas_rendering_label": "999-X-111",
"anticipated_prior_year_obligation_recoveries": "-111",
"prior_year_paid_obligation_recoveries": "-110",
"adjustments_to_unobligated_balance_brought_forward_fyb": "-11",
"budget_object_class": "test",
"program_activity_reporting_key_id":"test",
"prior_year_adjustment": "test",
"by_direct_reimbursable_fun":"test",
"bea_category": "test"
},
{
"fiscal_year": 1600,
"fiscal_period": "-2",
"budget_authority_unobligated_balance_brought_forward_cpe": "-12",
"adjustments_to_unobligated_balance_brought_forward_cpe": "-12",
"obligations_incurred_total_cpe": "-9",
"budget_authority_appropriation_amount_cpe": "-12",
"borrowing_authority_amount": "-12",
"contract_authority_amount": "-12",
"spending_authority_from_offsetting_collections_amount": "-12",
"other_budgetary_resources_amount_cpe": "-12",
"obligations_incurred": "-12",
"deobligations_or_recoveries_or_refunds_from_prior_year_cpe": "-12",
"gross_outlay_amount_by_tas_cpe": "-12",
"unobligated_balance_cpe": "-12",
"total_budgetary_resources_cpe": "12",
"status_of_budgetary_resources_total_cpe": "12",
"disaster_emergency_fund_id": "A",
"tas_rendering_label": "999-X-111",
"anticipated_prior_year_obligation_recoveries": "-121",
"prior_year_paid_obligation_recoveries": "-120",
"adjustments_to_unobligated_balance_brought_forward_fyb": "-12",
"budget_object_class": "test",
"program_activity_reporting_key_id":"test",
"prior_year_adjustment": "test",
"by_direct_reimbursable_fun":"test",
"bea_category": "test"
},
{
"fiscal_year": 1601,
"fiscal_period": "-1",
"budget_authority_unobligated_balance_brought_forward_cpe": "-13",
"adjustments_to_unobligated_balance_brought_forward_cpe": "-13",
"obligations_incurred_total_cpe": "-8",
"budget_authority_appropriation_amount_cpe": "-13",
"borrowing_authority_amount": "-13",
"contract_authority_amount": "-13",
"spending_authority_from_offsetting_collections_amount": "-13",
"other_budgetary_resources_amount_cpe": "-13",
"obligations_incurred": "-13",
"deobligations_or_recoveries_or_refunds_from_prior_year_cpe": "-13",
"gross_outlay_amount_by_tas_cpe": "-13",
"unobligated_balance_cpe": "-13",
"total_budgetary_resources_cpe": "13",
"status_of_budgetary_resources_total_cpe": "13",
"disaster_emergency_fund_id": "A",
"tas_rendering_label": "999-X-111",
"anticipated_prior_year_obligation_recoveries": "-131",
"prior_year_paid_obligation_recoveries": "-130",
"adjustments_to_unobligated_balance_brought_forward_fyb": "-13",
"budget_object_class": "test",
"program_activity_reporting_key_id":"test",
"prior_year_adjustment": "test",
"by_direct_reimbursable_fun":"test",
"bea_category": "test"
}
]
}