Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vulnerability-indicators
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Water Mission Area
VizLab
vulnerability-indicators
Commits
45a8696e
Commit
45a8696e
authored
1 year ago
by
Azadpour, Elmera
Browse files
Options
Downloads
Patches
Plain Diff
add evidence and agreement bins for determinant agg data
parent
861dd54a
No related branches found
No related tags found
1 merge request
!12
Add disaggregated census data/maps
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
2_process.R
+9
-1
9 additions, 1 deletion
2_process.R
2_process/out/determinant_uncertainty.csv
+59
-59
59 additions, 59 deletions
2_process/out/determinant_uncertainty.csv
with
68 additions
and
60 deletions
2_process.R
+
9
−
1
View file @
45a8696e
...
...
@@ -33,7 +33,15 @@ p2_targets <- list(
p2_unc_agg_summary
|>
left_join
(
p2_top_trend_stats
)
|>
# level of agreement is the max percent of studies in agreement
dplyr
::
mutate
(
level_agreement
=
100
*
(
sig_value
/
evidence_val
))
|>
dplyr
::
mutate
(
level_agreement
=
100
*
(
sig_value
/
evidence_val
),
evidence_bin
=
case_when
(
evidence_val
<
5
~
"Small"
,
between
(
evidence_val
,
5
,
9
)
~
"Medium"
,
evidence_val
>=
10
~
"Large"
),
agreement_bin
=
case_when
(
level_agreement
<
50
~
"Low"
,
between
(
level_agreement
,
51
,
74
)
~
"Medium"
,
level_agreement
>
74
~
"High"
))
|>
readr
::
write_csv
(
'2_process/out/determinant_uncertainty.csv'
)
),
...
...
This diff is collapsed.
Click to expand it.
2_process/out/determinant_uncertainty.csv
+
59
−
59
View file @
45a8696e
dimension,determinant,pos_related_total,neg_related_total,unrelated_total,unk_direction_total,evidence_val,sig_name,sig_value,level_agreement
Demographic characteristics,Age,28,5,0,3,36,pos_related_total,28,77.77777777777779
Demographic characteristics,Citizenship,1,2,0,0,3,neg_related_total,2,66.66666666666666
Demographic characteristics,Ethnicity and race,44,11,0,3,58,pos_related_total,44,75.86206896551724
Demographic characteristics,Family structure,9,2,0,1,12,pos_related_total,9,75
Demographic characteristics,Gender,9,1,0,0,10,pos_related_total,9,90
Demographic characteristics,Group facilities,1,0,0,0,1,pos_related_total,1,100
Demographic characteristics,Language proficiency,8,2,0,0,10,pos_related_total,8,80
Demographic characteristics,Migration,5,3,0,0,8,pos_related_total,5,62.5
Demographic characteristics,Political inclination,1,1,0,0,2,pos_related_total,1,50
Demographic characteristics,Political inclination,1,1,0,0,2,neg_related_total,1,50
Demographic characteristics,Social dependence,5,0,0,0,5,pos_related_total,5,100
Demographic characteristics,Special needs/ disabilities,2,0,0,0,2,pos_related_total,2,100
Exposure,# Of events,3,0,0,0,3,pos_related_total,3,100
Exposure,Exposed areas / facilities,13,3,0,6,22,pos_related_total,13,59.09090909090909
Exposure,Exposed population,7,0,0,0,7,pos_related_total,7,100
Exposure,Hazard extent,11,2,0,0,13,pos_related_total,11,84.61538461538461
Exposure,Losses suffered,7,2,0,0,9,pos_related_total,7,77.77777777777779
Exposure,Mitigation,4,9,0,2,15,neg_related_total,9,60
Exposure,Other - physical considerations,24,11,0,8,43,pos_related_total,24,55.81395348837209
Exposure,Preparedness,2,3,0,0,5,neg_related_total,3,60
Health,Access,4,1,0,0,5,pos_related_total,4,80
Health,Caloric intake/ food insecurity,0,1,0,0,1,neg_related_total,1,100
Health,Disease burden / morbidity,2,1,0,0,3,pos_related_total,2,66.66666666666666
Health,Life expectancy,0,1,0,0,1,neg_related_total,1,100
Health,Mortality,1,0,0,0,1,pos_related_total,1,100
Health,Potable water access,2,2,1,0,5,pos_related_total,2,40
Health,Potable water access,2,2,1,0,5,neg_related_total,2,40
Health,Sanitation,1,0,0,0,1,pos_related_total,1,100
Land tenure,Owners,5,1,0,3,9,pos_related_total,5,55.55555555555556
Land tenure,Private property,0,0,0,1,1,unk_direction_total,1,100
Land tenure,Renters,7,5,0,0,12,pos_related_total,7,58.333333333333336
Land tenure,Tenure length,2,1,0,0,3,pos_related_total,2,66.66666666666666
Living conditions,Housing quality,2,0,0,0,2,pos_related_total,2,100
Living conditions,Housing type,2,0,0,0,2,pos_related_total,2,100
Living conditions,Land use,8,4,0,1,13,pos_related_total,8,61.53846153846154
Living conditions,Lifelines & infrastructure,8,2,0,3,13,pos_related_total,8,61.53846153846154
Living conditions,Population,13,2,0,4,19,pos_related_total,13,68.42105263157895
Living conditions,Resource dependence,9,1,0,1,11,pos_related_total,9,81.81818181818183
Living conditions,Rurality,3,5,0,0,8,neg_related_total,5,62.5
Living conditions,Socially isolated populations,1,0,0,0,1,pos_related_total,1,100
Living conditions,Urbanization,4,3,0,0,7,pos_related_total,4,57.14285714285714
Living conditions,Vacant housing units,3,0,0,0,3,pos_related_total,3,100
Living conditions,Vehicular access,6,0,0,1,7,pos_related_total,6,85.71428571428571
Risk perception,Awareness,4,3,0,1,8,pos_related_total,4,50
Risk perception,Prior experience,6,3,0,0,9,pos_related_total,6,66.66666666666666
Risk perception,Risk denial/ acceptance,3,3,0,0,6,pos_related_total,3,50
Risk perception,Risk denial/ acceptance,3,3,0,0,6,neg_related_total,3,50
Risk perception,Social capital,1,4,0,0,5,neg_related_total,4,80
Risk perception,Trust in officials,1,1,0,2,4,unk_direction_total,2,50
Socioeconomic status,Access to basic needs,1,0,0,0,1,pos_related_total,1,100
Socioeconomic status,Education,15,6,0,0,21,pos_related_total,15,71.42857142857143
Socioeconomic status,Employment,8,1,0,0,9,pos_related_total,8,88.88888888888889
Socioeconomic status,House value,1,4,0,0,5,neg_related_total,4,80
Socioeconomic status,Income,14,18,0,1,33,neg_related_total,18,54.54545454545454
Socioeconomic status,Literacy,0,2,0,0,2,neg_related_total,2,100
Socioeconomic status,Median rent,1,4,0,0,5,neg_related_total,4,80
Socioeconomic status,Occupation,7,1,0,1,9,pos_related_total,7,77.77777777777779
Socioeconomic status,Wealth,17,1,0,0,18,pos_related_total,17,94.44444444444444
dimension,determinant,pos_related_total,neg_related_total,unrelated_total,unk_direction_total,evidence_val,sig_name,sig_value,level_agreement
,evidence_bin,agreement_bin
Demographic characteristics,Age,28,5,0,3,36,pos_related_total,28,77.77777777777779
,Large,High
Demographic characteristics,Citizenship,1,2,0,0,3,neg_related_total,2,66.66666666666666
,Small,Medium
Demographic characteristics,Ethnicity and race,44,11,0,3,58,pos_related_total,44,75.86206896551724
,Large,High
Demographic characteristics,Family structure,9,2,0,1,12,pos_related_total,9,75
,Large,High
Demographic characteristics,Gender,9,1,0,0,10,pos_related_total,9,90
,Large,High
Demographic characteristics,Group facilities,1,0,0,0,1,pos_related_total,1,100
,Small,High
Demographic characteristics,Language proficiency,8,2,0,0,10,pos_related_total,8,80
,Large,High
Demographic characteristics,Migration,5,3,0,0,8,pos_related_total,5,62.5
,Medium,Medium
Demographic characteristics,Political inclination,1,1,0,0,2,pos_related_total,1,50
,Small,NA
Demographic characteristics,Political inclination,1,1,0,0,2,neg_related_total,1,50
,Small,NA
Demographic characteristics,Social dependence,5,0,0,0,5,pos_related_total,5,100
,Medium,High
Demographic characteristics,Special needs/ disabilities,2,0,0,0,2,pos_related_total,2,100
,Small,High
Exposure,# Of events,3,0,0,0,3,pos_related_total,3,100
,Small,High
Exposure,Exposed areas / facilities,13,3,0,6,22,pos_related_total,13,59.09090909090909
,Large,Medium
Exposure,Exposed population,7,0,0,0,7,pos_related_total,7,100
,Medium,High
Exposure,Hazard extent,11,2,0,0,13,pos_related_total,11,84.61538461538461
,Large,High
Exposure,Losses suffered,7,2,0,0,9,pos_related_total,7,77.77777777777779
,Medium,High
Exposure,Mitigation,4,9,0,2,15,neg_related_total,9,60
,Large,Medium
Exposure,Other - physical considerations,24,11,0,8,43,pos_related_total,24,55.81395348837209
,Large,Medium
Exposure,Preparedness,2,3,0,0,5,neg_related_total,3,60
,Medium,Medium
Health,Access,4,1,0,0,5,pos_related_total,4,80
,Medium,High
Health,Caloric intake/ food insecurity,0,1,0,0,1,neg_related_total,1,100
,Small,High
Health,Disease burden / morbidity,2,1,0,0,3,pos_related_total,2,66.66666666666666
,Small,Medium
Health,Life expectancy,0,1,0,0,1,neg_related_total,1,100
,Small,High
Health,Mortality,1,0,0,0,1,pos_related_total,1,100
,Small,High
Health,Potable water access,2,2,1,0,5,pos_related_total,2,40
,Medium,Low
Health,Potable water access,2,2,1,0,5,neg_related_total,2,40
,Medium,Low
Health,Sanitation,1,0,0,0,1,pos_related_total,1,100
,Small,High
Land tenure,Owners,5,1,0,3,9,pos_related_total,5,55.55555555555556
,Medium,Medium
Land tenure,Private property,0,0,0,1,1,unk_direction_total,1,100
,Small,High
Land tenure,Renters,7,5,0,0,12,pos_related_total,7,58.333333333333336
,Large,Medium
Land tenure,Tenure length,2,1,0,0,3,pos_related_total,2,66.66666666666666
,Small,Medium
Living conditions,Housing quality,2,0,0,0,2,pos_related_total,2,100
,Small,High
Living conditions,Housing type,2,0,0,0,2,pos_related_total,2,100
,Small,High
Living conditions,Land use,8,4,0,1,13,pos_related_total,8,61.53846153846154
,Large,Medium
Living conditions,Lifelines & infrastructure,8,2,0,3,13,pos_related_total,8,61.53846153846154
,Large,Medium
Living conditions,Population,13,2,0,4,19,pos_related_total,13,68.42105263157895
,Large,Medium
Living conditions,Resource dependence,9,1,0,1,11,pos_related_total,9,81.81818181818183
,Large,High
Living conditions,Rurality,3,5,0,0,8,neg_related_total,5,62.5
,Medium,Medium
Living conditions,Socially isolated populations,1,0,0,0,1,pos_related_total,1,100
,Small,High
Living conditions,Urbanization,4,3,0,0,7,pos_related_total,4,57.14285714285714
,Medium,Medium
Living conditions,Vacant housing units,3,0,0,0,3,pos_related_total,3,100
,Small,High
Living conditions,Vehicular access,6,0,0,1,7,pos_related_total,6,85.71428571428571
,Medium,High
Risk perception,Awareness,4,3,0,1,8,pos_related_total,4,50
,Medium,NA
Risk perception,Prior experience,6,3,0,0,9,pos_related_total,6,66.66666666666666
,Medium,Medium
Risk perception,Risk denial/ acceptance,3,3,0,0,6,pos_related_total,3,50
,Medium,NA
Risk perception,Risk denial/ acceptance,3,3,0,0,6,neg_related_total,3,50
,Medium,NA
Risk perception,Social capital,1,4,0,0,5,neg_related_total,4,80
,Medium,High
Risk perception,Trust in officials,1,1,0,2,4,unk_direction_total,2,50
,Small,NA
Socioeconomic status,Access to basic needs,1,0,0,0,1,pos_related_total,1,100
,Small,High
Socioeconomic status,Education,15,6,0,0,21,pos_related_total,15,71.42857142857143
,Large,Medium
Socioeconomic status,Employment,8,1,0,0,9,pos_related_total,8,88.88888888888889
,Medium,High
Socioeconomic status,House value,1,4,0,0,5,neg_related_total,4,80
,Medium,High
Socioeconomic status,Income,14,18,0,1,33,neg_related_total,18,54.54545454545454
,Large,Medium
Socioeconomic status,Literacy,0,2,0,0,2,neg_related_total,2,100
,Small,High
Socioeconomic status,Median rent,1,4,0,0,5,neg_related_total,4,80
,Medium,High
Socioeconomic status,Occupation,7,1,0,1,9,pos_related_total,7,77.77777777777779
,Medium,High
Socioeconomic status,Wealth,17,1,0,0,18,pos_related_total,17,94.44444444444444
,Large,High
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment