Returns a small CSV that ships with the package, suitable for
running examples and tests of the mrm_*() callables without any
network or external data dependency.
Usage
morie_sample(name = c("otis_b01", "otis_b09", "otis_c11", "tps_assault"))Examples
b01 <- morie_sample("otis_b01")
head(b01)
#> EndFiscalYear UniqueIndividual_ID Gender Region_AtTimeOfPlacement
#> 1 2025 2025-08960-SG Male Eastern
#> 2 2023 2023-11152-SG Male Northern
#> 3 2023 2023-08955-SG Female Central
#> 4 2023 2023-11360-SG Male Central
#> 5 2024 2024-10288-SG Male Central
#> 6 2024 2024-06364-SG Male Toronto
#> Region_MostRecentPlacement Age_Category NumberConsecutiveDays_Segregation
#> 1 Eastern 25 to 49 4
#> 2 Northern 25 to 49 1
#> 3 Central 25 to 49 6
#> 4 Central 25 to 49 1
#> 5 Western 18 to 24 2
#> 6 Toronto 18 to 24 1
#> SegReason_SecurityOfInstitution_SafetyOfOthers
#> 1 No
#> 2 No
#> 3 No
#> 4 No
#> 5 No
#> 6 Yes
#> SegReason_InmateNeedsProtection SegReason_InmateNeedsProtection_Medical
#> 1 No Yes
#> 2 Yes No
#> 3 No No
#> 4 No No
#> 5 No Yes
#> 6 No No
#> SegReason_SecurityOfInstitution_SafetyOfOthers_Medical
#> 1 No
#> 2 No
#> 3 Yes
#> 4 Yes
#> 5 No
#> 6 No
#> SegReason_Disciplinary_Segregation SegReason_InmateRefuseSearch_Scan
#> 1 No No
#> 2 No No
#> 3 No No
#> 4 No No
#> 5 No No
#> 6 No No
#> MentalHealth_Alert SuicideRisk_Alert SuicideWatch_Alert SegReason_Other
#> 1 Yes Yes Yes No
#> 2 No No No
#> 3 Yes Yes Yes
#> 4 No No No
#> 5 No Yes Yes No
#> 6 No No No No
#> Number_Of_Placements
#> 1 1
#> 2 8
#> 3 1
#> 4 1
#> 5 1
#> 6 2