toObservationData

fun Map<String, DoubleArray>.toObservationData(    tableName: String = "tblObservations",     context: String? = null,     subject: String? = null): List<ObservationDataDb>

Converts the data map to a long format view of the observations.

Parameters

tableName

can be used to assign the data to a table name if using a database

context

an optional field to provide context for the data and use it to associate with other data.