From 470587f155948af26c6af3f4a10a1f10fa31e5e5 Mon Sep 17 00:00:00 2001 From: Will Beasley Date: Mon, 16 Sep 2024 20:24:21 -0500 Subject: [PATCH] `inst4_manage_satisfied` --- data-public/derived/variable-label.parquet | Bin 3198 -> 3345 bytes data-public/metadata/variable-label.csv | 11 ++++++++--- manipulation/institution-ellis.R | 8 ++++---- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/data-public/derived/variable-label.parquet b/data-public/derived/variable-label.parquet index 5af91ce14d52976b1d6ac3ed9fe657d4d49fbf7f..29bdc8dd2f9e37d9180875c1c8daa52c56f62ad9 100644 GIT binary patch delta 944 zcmew-F;Pl1z%j^BltuIsi|9ILA5j@m1|bH9l@mqxJ1O!reswX4&rQrrOizt3PAthR zPRmS95oHjK5{=UlZDSM_5M>i(lQCn^5X;OfF2Phf`5=cRF9U<_24)5ZhBih<7U9Wq zjPe|J?*awY4zNykWE9hAV-&l=CbolB?HaQh2Y$1(Cof^th*lBRK((B;C^027UxFh! zBQ-fYDZc_}myiq8Mn)9|Zutj{f9!=A)NXLdi1J99GO!6qO0bkv7Nm+Yi2-fj!6I05lodFKe0PH3XbkfqwbNjWC+EEHS4PYW55! zu}Ms7&$!gyOn%R#$iGWabRVyeXbm`w?{aLGXKrH@ws6kL%*#wp%uxs_%1q2DR`lkW zypzS2@xbKoEQXA-leJmr^Qa`IlqKdRr>4Xgb56d_>QW!#mtUfg2t+wK96(nE=jW!D zXC#(5-V+E*Evgi8y`0#}P{QgV0*N$F?M4waF-1;^ywuW?qQo4=7Ewixl+0pQ z6`str)D*_&4rM@{3P2I$n649TVMGmWuJY8JoXMBjB>5N^>_6B+!@T=XEQfuIye2T4#9U9P+z1U5-QG-^Rr$T^95fZ$2 z6egeNl;#6Q))Z#32TW>B@@ju%CkL?WO#aW_#M#CuDI*y}MtagwA}UE}C=nICaw{75R({H72BzCnElbFONr!WO6qq~;L(o%xa0O&3x*WG54 zXJ$~FHJOoFgr`QVhe@oBNv)4dZOY{5oN_|I0C~eNx{Jq0v_ggED9 z=4B=)<|u>|WhUkn^MOL?HH$6diOHI*hRh5MqLZUp=ksbLrj#Y-C8wsu7pJmLW@B^F zDDlfLQAh-$oE#3Ip5Xl4)bfnP5*8pkEVZZ-7{UdjB_N;gV$?T|&zLn;v5MWYd zP`e;E*^on;w??dkS?mgvT9d5WAL+>#*>xtjaWrw%NXkgYkQ8OwibTeW5EJ&mmRBO$ ib3)AcTrb2WwoOi~MvX&kkL2b{T;@z1slea`C2s)#+qv!l diff --git a/data-public/metadata/variable-label.csv b/data-public/metadata/variable-label.csv index e9345f1..b79a357 100644 --- a/data-public/metadata/variable-label.csv +++ b/data-public/metadata/variable-label.csv @@ -58,6 +58,11 @@ inst4_charge_reason,checkbox,98,"other",98,"Other {charge_reasons_other}" inst4_charge_effort,radio,1,"Overstaffed",1,"Overstaffed" inst4_charge_effort,radio,2,"Appropriately staffed",2,"Appropriately staffed" inst4_charge_effort,radio,3,"Understaffed",3,"Understaffed" -inst4_charge_success,radio,1,"Not at all",1,"Not at all"` -inst4_charge_success,radio,2,"Somewhat",2,"Somewhat"` -inst4_charge_success,radio,3,"Very",3,"Very"` \ No newline at end of file +inst4_charge_success,radio,1,"Not at all",1,"Not at all" +inst4_charge_success,radio,2,"Somewhat",2,"Somewhat" +inst4_charge_success,radio,3,"Very",3,"Very" +inst4_manage_satisfied,radio,1,"completely satisfied",1,"Completely satisfied" +inst4_manage_satisfied,radio,2,"somewhat satisfied",2,"Somewhat satisfied" +inst4_manage_satisfied,radio,3,"neutral",3,"Neutral" +inst4_manage_satisfied,radio,4,"somewhat dissatisifed",4,"Somewhat dissatisifed" +inst4_manage_satisfied,radio,5,"very dissatisfied",5,"Very dissatisfied" diff --git a/manipulation/institution-ellis.R b/manipulation/institution-ellis.R index f2ca279..24738e6 100644 --- a/manipulation/institution-ellis.R +++ b/manipulation/institution-ellis.R @@ -404,7 +404,7 @@ ds <- ) |> map_to_radio( "inst4_charge_effort") |> map_to_radio( "inst4_charge_success") |> - # map_to_checkbox( "inst4_manage_satisfied") |> + map_to_radio( "inst4_manage_satisfied") |> # map_to_checkbox( "inst4_regulatory") |> # map_to_checkbox( "inst4_regulatory_charge") |> # map_to_checkbox( "inst4_validation") |> @@ -557,9 +557,9 @@ checkmate::assert_logical( ds$inst4_charge_reason_additional_fte , any.mis checkmate::assert_logical( ds$inst4_charge_reason_support_specific , any.missing=F ) checkmate::assert_logical( ds$inst4_charge_reason_other , any.missing=F ) checkmate::assert_integer( ds$inst4_charge_staff_count , any.missing=T , lower=0, upper=15 ) -checkmate::assert_factor( ds$inst4_charge_effort , any.missing=T ) -checkmate::assert_factor( ds$inst4_charge_success , any.missing=T ) -# checkmate::assert_integer( ds$inst4_manage_satisfied , any.missing=T , lower=1, upper=5 ) +checkmate::assert_factor( ds$inst4_charge_effort , any.missing=T ) +checkmate::assert_factor( ds$inst4_charge_success , any.missing=T ) +checkmate::assert_factor( ds$inst4_manage_satisfied , any.missing=T ) # checkmate::assert_character(ds$inst4_regulatory , any.missing=T , pattern="^.{1,11}$" ) # checkmate::assert_integer( ds$inst4_regulatory_charge , any.missing=T , lower=1, upper=99 ) # checkmate::assert_integer( ds$inst4_validation , any.missing=T , lower=0, upper=2 )