Extract metadata such as info on tables, columns and further details in your favorite class
NMinfo(data, info, as.fun)
An object of class NMdata (a result of `NMscanData()`)
If not passed, all the metadata is returned. You can use "details", "tables", or "columns" to get only these subsets. If info is "tables" or "columns"
The default is to return data as a `data.frame`. Pass a function (say `tibble::as_tibble`) in as.fun to convert to something else. If `data.table`s are wanted, use `as.fun="data.table"`. The default can be configured using `NMdataConf()`.
A table of class as defined by as.fun in case info is "columns" or "tables". A list if info missing or equal to "details".