-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #406 from IN-CORE/release-4.12.0
Release 4.12.0
- Loading branch information
Showing
52 changed files
with
3,390 additions
and
952 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"GA_KEY": "Test-Google-Analytics-Key-Replace-Me" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
// analytics.js | ||
(function() { | ||
// Fetch the runtime configuration | ||
fetch('config/config.json') | ||
.then(response => { | ||
if (!response.ok) { | ||
throw new Error('Configuration file not found'); | ||
} | ||
return response.json(); | ||
}) | ||
.then(config => { | ||
if (!config.GA_KEY) { | ||
throw new Error('GA_KEY is missing in the configuration'); | ||
} | ||
|
||
// Create the script tag for Google Tag Manager | ||
const scriptTag = document.createElement('script'); | ||
scriptTag.async = true; | ||
scriptTag.src = `https://www.googletagmanager.com/gtag/js?id=${config.GA_KEY}`; | ||
document.head.appendChild(scriptTag); | ||
|
||
// Initialize Google Analytics | ||
window.dataLayer = window.dataLayer || []; | ||
|
||
function gtag() { dataLayer.push(arguments); } | ||
|
||
gtag('js', new Date()); | ||
gtag('config', config.GA_KEY); | ||
}) | ||
.catch(error => console.warn('GA setup skipped:', error.message)); | ||
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,51 @@ | ||
# Analyses | ||
|
||
1. [Bridge damage](analyses/bridge_dmg.md) | ||
2. [Building damage](analyses/building_dmg) | ||
3. [Building functionality](analyses/building_func) | ||
2. [Building cluster recovery](analyses/building_cluster_recovery) | ||
3. [Building damage](analyses/building_dmg) | ||
4. [Building economic loss](analyses/building_loss) | ||
5. [Capital shocks](analyses/capital_shocks) | ||
6. [Combined wind wave surge building damage](analyses/combined_wind_wave_surge_building_dmg) | ||
7. [Combined wind wave surge building loss](analyses/combined_wind_wave_surge_building_loss) | ||
8. [Commercial building recovery](analyses/commercial_building_recovery) | ||
9. [Cumulative building damage](analyses/cumulative_building_dmg) | ||
10. [Electric power facility damage](analyses/epf_dmg) | ||
11. [Electric power facility repair cost](analyses/epf_repair_cost) | ||
12. [Electric power facility restoration](analyses/epf_restoration) | ||
13. [Electric power network functionality](analyses/epn_functionality) | ||
14. [Galveston Computable General Equilibrium (CGE)](analyses/galveston_cge.md) | ||
15. [Household-level housing sequential recovery](analyses/housing_household_recovery) | ||
16. [Housing recovery](analyses/housing_recovery) | ||
17. [Housing unit allocation](analyses/housingunitallocation) | ||
18. [Interdependent Network Design Problem](analyses/indp) | ||
19. [Joplin Computable General Equilibrium (CGE)](analyses/joplin_cge) | ||
20. [Joplin empirical building restoration](analyses/joplin_empirical_building_restoration) | ||
21. [Machine Learning Enabled Computable General Equilibrium (CGE) - Salt Lake City](analyses/ml_slc_cge.md) | ||
22. [Mean damage](analyses/mean_dmg) | ||
23. [Monte Carlo failure probability](analyses/mc_failure_prob) | ||
24. [Multi-objective retrofit optimization](analyses/multi_retrofit_optimization) | ||
25. [Network cascading interdependency functionality](analyses/nci_functionality) | ||
26. [Nonstructural building damage](analyses/non_structural_building_dmg) | ||
27. [Pipeline damage](analyses/pipeline_dmg) | ||
28. [Pipeline damage with repair rate](analyses/pipeline_dmg_w_repair_rate) | ||
29. [Pipeline functionality](analyses/pipeline_functionality) | ||
30. [Pipeline repair cost](analyses/pipeline_repair_cost) | ||
31. [Pipeline restoration](analyses/pipeline_restoration) | ||
32. [Population dislocation](analyses/populationdislocation) | ||
33. [Portfolio recovery](analyses/portfolio_recovery) | ||
34. [Residential building recovery](analyses/residential_building_recovery) | ||
35. [Road damage](analyses/road_dmg) | ||
36. [Salt Lake City Computable General Equilibrium (CGE)](analyses/slc_cge.md) | ||
37. [Seaside Computable General Equilibrium (CGE)](analyses/seaside_cge) | ||
38. [Social Vulnerability](analyses/social_vulnerability) | ||
39. [Tornado electric power network (EPN) damage](analyses/tornadoepn_dmg) | ||
40. [Transportation recovery](analyses/transportation_recovery) | ||
41. [Water facility damage](analyses/waterfacility_dmg) | ||
42. [Water network functionality](analyses/wfn_functionality) | ||
43. [Water facility repair cost](analyses/water_facility_repair_cost) | ||
44. [Water facility restoration](analyses/water_facility_restoration) | ||
5. [Building functionality](analyses/building_func) | ||
6. [Building nonstructural damage](analyses/building_nonstructural_dmg) | ||
7. [Building structural damage](analyses/building_structural_dmg) | ||
8. [Buyout decision](analyses/buyout_decision) | ||
9. [Capital shocks](analyses/capital_shocks) | ||
10. [Combined wind wave surge building damage](analyses/combined_wind_wave_surge_building_dmg) | ||
11. [Combined wind wave surge building loss](analyses/combined_wind_wave_surge_building_loss) | ||
12. [Commercial building recovery](analyses/commercial_building_recovery) | ||
13. [Cumulative building damage](analyses/cumulative_building_dmg) | ||
14. [Electric power facility damage](analyses/epf_dmg) | ||
15. [Electric power facility repair cost](analyses/epf_repair_cost) | ||
16. [Electric power facility restoration](analyses/epf_restoration) | ||
17. [Electric power network functionality](analyses/epn_functionality) | ||
18. [Galveston Computable General Equilibrium (CGE)](analyses/galveston_cge.md) | ||
19. [Gas facility damage](analyses/gas_facility_damage) | ||
20. [Household-level housing sequential recovery](analyses/housing_household_recovery) | ||
21. [Housing recovery](analyses/housing_recovery) | ||
22. [Housing unit allocation](analyses/housingunitallocation) | ||
23. [Interdependent Network Design Problem](analyses/indp) | ||
24. [Joplin Computable General Equilibrium (CGE)](analyses/joplin_cge) | ||
25. [Joplin empirical building restoration](analyses/joplin_empirical_building_restoration) | ||
26. [Machine Learning Enabled Computable General Equilibrium (CGE) - Salt Lake City](analyses/ml_slc_cge.md) | ||
27. [Mean damage](analyses/mean_dmg) | ||
28. [Monte Carlo limit state probability](analyses/mc_limit_state_prob) | ||
29. [Multi-objective retrofit optimization](analyses/multi_retrofit_optimization) | ||
30. [Network cascading interdependency functionality](analyses/nci_functionality) | ||
31. [Pipeline damage](analyses/pipeline_dmg) | ||
32. [Pipeline damage with repair rate](analyses/pipeline_dmg_w_repair_rate) | ||
33. [Pipeline functionality](analyses/pipeline_functionality) | ||
34. [Pipeline repair cost](analyses/pipeline_repair_cost) | ||
35. [Pipeline restoration](analyses/pipeline_restoration) | ||
36. [Population dislocation](analyses/populationdislocation) | ||
37. [Residential building recovery](analyses/residential_building_recovery) | ||
38. [Road damage](analyses/road_dmg) | ||
39. [Salt Lake City Computable General Equilibrium (CGE)](analyses/slc_cge.md) | ||
40. [Seaside Computable General Equilibrium (CGE)](analyses/seaside_cge) | ||
41. [Social Vulnerability](analyses/social_vulnerability) | ||
42. [Social Vulnerability Score](analyses/social_vulnerability_score) | ||
43. [Tornado electric power network (EPN) damage](analyses/tornadoepn_dmg) | ||
44. [Traffic flow recovery](analyses/traffic_flow_recovery) | ||
45. [Transportation recovery](analyses/transportation_recovery) | ||
46. [Water facility damage](analyses/waterfacility_dmg) | ||
47. [Water network functionality](analyses/wfn_functionality) | ||
48. [Water facility repair cost](analyses/water_facility_repair_cost) | ||
49. [Water facility restoration](analyses/water_facility_restoration) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.