Transformation functions for creating reference or result objects for testing progress of the students in their project.

df_structure(object, ...)

digest(object, algo = "md5", ...)

object_attr(object, attrib = "class", ...)

object_part(object, part = "x", ...)

object_str(object, part = "x", ...)

Arguments

object

The object to transform

...

Further arguments (not used for now)

algo

algorithm to use for digest, "md5" by default

attrib

The attribute(s) to record from the object

part

The part(s) to record from the object (list items)

Value

df_structure() returns names, attributes "label" and "units", number of row and columns, classes, if there are missing data and comment in a data frame. digest() returns a hash of the object. object_attr()

returns the attribute(s) of the object. object_part() returns the part(s) of an object (list items). object_str() returns a str() representation of the object parts.