Convert long intensity tables to wide form.
IML2IMW.RdIML2IMW() casts long intensity output from TSL2IM() / getIntensity()
to one row per metadata and OCID, with intensity measures as columns.
Examples
iml <- data.table::data.table(RecordID = "R1", OCID = "H1",
ID = "AT", IM = "PGA",
value = 1, units = "mm /s2")
IML2IMW(iml)
#> Key: <RecordID, OCID>
#> RecordID OCID PGA
#> <char> <char> <num>
#> 1: R1 H1 1