laminlabs / laminr

Lamin's R SDK.
http://laminr.lamin.ai/
Apache License 2.0
8 stars 1 forks source link

Add `Record` print methods #22

Closed lazappi closed 1 month ago

lazappi commented 1 month ago

Adds to_string() and print() methods to the Record class and a (incomplete) describe() method to the Artifact class.

Fixes #5, replaces #3

lazappi commented 1 month ago

The output is similar to Python with the following differences:

There is also an incomplete describe() method. It only shows the provenance fields in the example at the moment. Labels, features, other provenance etc. should be possible but I need to work out how to properly locate things which will take more work.

Examples

Artifact

Python

image

R

image

R (style = FALSE)

image

Storage

Python

image

R

image

Describe Artifact

Python

image

R

image