Learn R Programming

yamlet (version 1.2.5)

Versatile Curation of Table Metadata

Description

A YAML-based mechanism for working with table metadata. Supports compact syntax for creating, modifying, viewing, exporting, importing, displaying, and plotting metadata coded as column attributes. The 'yamlet' dialect is valid 'YAML' with defaults and conventions chosen to improve readability. See ?yamlet, ?decorate, ?modify, ?io_csv, and ?ggplot.decorated.

Copy Link

Version

Install

install.packages('yamlet')

Monthly Downloads

235

Version

1.2.5

License

GPL-3

Maintainer

Tim Bergsma

Last Published

June 20th, 2025

Functions in yamlet (1.2.5)

as_decorated

Coerce to Decorated
as.integer.classified

Coerce Classified to Integer
as_dvec.character

Coerce Character to Decorated Vector
as.character.yamlet

Coerce Yamlet to Character
arrange.decorated

Arrange Decorated
as.data.frame.dvec

Coerce Decorated Vector to Data Frame
as.data.frame.yamlet

Coerce Yamlet to Data Frame
as_decorated.default

Coerce to Decorated by Default
as_dvec

Coerce to Decorated Vector
as.character.yam

Coerce Yam to Character
as_dvec.complex

Coerce Complex to Decorated Vector
as_dvec.integer

Coerce Integer to Decorated Vector
as_dvec.numeric

Coerce Numeric to Decorated Vector
as_dvec.logical

Coerce Logical to Decorated Vector
as_spork.symbolic_units

Coerce Symbolic Units to Spork
as_spork.units

Coerce Units to Spork
as_spork.unit_string

Coerce Unit String to Spork
as_unit_string

Coerce to Unit String
as_dvec.units

Coerce Units to Decorated Vector
as_unit_string.factor

Coerce Factor to Unit String
as_units.dvec

Coerce Decorated Vector to Units
as_unit_string.character

Coerce Character to Unit String
as_yam

Coerce to Yam
as_dvec.dvec

Coerce Decorated Vector to Decorated Vector
as_yamlet.yam

Coerce Yam To Yamlet Format
as_yamlet.yamlet

Coerce Yamlet to Yamlet
canonical

Enforce Canonical Order
canonical.decorated

Sort Decorations
classified.default

Create Classified by Default
classified.data.frame

Classify Data Frame
as_yam.yamlet

Coerce Yamlet to Yam
cell_value

Calculate a Cell Value
as_yamlet

Coerce to Yamlet
as_unit_string.symbolic_units

Coerce Symbolic Units to Unit String.
c.classified

Combine Classified
as_unit_string.units

Coerce Units to Unit String.
as_yamlet.character

Coerce Character To Yamlet Format
dd_cast

Coerce Data.frame to Decorated
as_yam.character

Coerce Character to Yam
c.dvec

Combine Decorated Vector
conditionalize

Conditionalize Attributes
canonical.yamlet

Sort Yamlet
conditionalize.data.frame

Conditionalize Attributes of Data Frame
as_yamlet.list

Coerce List to Yamlet
as_yamlet.data.frame

Coerce Data Frame to Yamlet
dd_ptype2

Coerce Common Type to Decorated
classified.dvec

Classify Decorated Vector
classified.factor

Create Classified from Factor
classified.classified

Create Classified from Classified
decorations.data.frame

Retrieve Decorations for Data Frame
decorations

Retrieve Decorations
classified

Classify Something
decorate_groups.data.frame

Capture Groups as Decorations for Data Frame
decorate_groups

Capture Groups as Decorations
decorations_groups

Recover Groups Decorations
desolve.decorated

Desolve Guide for Decorated
decorations_groups.data.frame

Recover Groups Decorations for Data Frame
desolve.data.frame

Desolve Data Frame
drop_title

Drop Title
desolve.dvec

Desolve Guide for Decorated Vector
desolve.classified

Desolve Guide for Classified
desolve

Desolve Guide
footnote.decorated

Footnote Decorated
format.dvec

Format Decorated Vector
explicit_guide.dvec

Coerce Decorated Vector Guide to Something More Explicit
explicit_guide.yamlet

Coerce Yamlet Guide to Something More Explicit
enscript.default

Render Scripted Attributes of Indicated Components by Default
enscript

Render Scripted Attributes of Indicated Components
ggplot_add.ggplot_isometric

Add Isometry to Plot Object
ggplot.decorated

Create a New ggplot for a Decorated Data Frame
full_join.decorated

Full_join Decorated
gather.decorated

Gather a Decorated Data Frame
decorate.character

Decorate Character
decorate

Decorate a List-like Object
decorate.data.frame

Decorate Data Frame
encode.yamlet

Encode Yamlet
explicit_guide

Coerce Guide to Something More Explicit
explicit_guide.data.frame

Coerce Data Frame Guide to Something More Explicit
drop_title.default

Drop Title by Default
implicit_guide.dvec

Coerce Decorated Vector Guide to Something More Implicit
filter.decorated

Filter Decorated
drop_title.decorated

Drop Title for Decorated
group_by_decorations.data.frame

Groups by Decorations for Data Frame
gg_new

Detect Revised Label Strategy
get_labs

Get Labels
decorate.list

Decorate List
drop_title.dvec

Drop Title for Decorated Vector
group_by_decorations

Group by Decorations
infer_guide

Infer Type of Guide
ggready.decorated

Prepare Decorated Data Frame for GGplot
footnote

Footnote Something
ggready

Prepare Data for GGplot
group_by.decorated

Group_by Decorated
ggplot_add.ggplot_symmetric

Add Symmetry to Plot Object
ggplot_build.decorated_ggplot

Enable Automatic Labels and Units for ggplot
ggready.data.frame

Prepare Data Frame for GGplot
implicit_guide

Coerce Guide to Something More Implicit
io_res.decorated

Export Resolved Table
io_table.character

Import Documented Table
implicit_guide.data.frame

Coerce Data Frame Guide to Something More Implicit
io_yamlet

Import and Export Yamlet
io_yamlet.character

Import Yamlet
isLevels.default

Test Value is Levels by Default
isLevels.character

Test Character Value is Levels
inner_join.decorated

Inner_join Decorated
is_dvec

Test if Class is dvec
io_table

Import and Export Documented Tables
io_csv.character

Import Documented Table as CSV
io_csv

Import and Export Documented Tables as CSV
left_join.decorated

Left_join Decorated
names<-.decorated

Assign Names of Decorated
length.dvec

Get Length of a Decorated Vector
named

Evaluate Named Arguments
print.decorated_xtable

Print Decorated Xtable
io_csv.data.frame

Export Documented Table as CSV
print.dvec

Print Decorated Vector
isLevels

Test Value is Levels
is_parseable

Check Parseable as Units
isConditional.list

Test List is Conditional
make_title.dvec

Make Title for Decorated Vector
merge.decorated

Merge Decorated
parsimonious

Reduce Something to its Simplest Sufficient Version
mimic.default

Try To Look Like Another Equal-length Variable
make_title.decorated

Make Title for Decorated
parsimonious.default

Reduce by Default to Simplest Sufficient Version
make_title.default

Make Title by Default
modify

Modify Attributes of Indicated Components
reconcile

Reconcile Atttributes
promote.list

Promote a List
reconcile.list

Reconcile Atttributes of List Members
io_res

Import and Export Resolved Tables
io_res.character

Import Documented Table as Resolved
read_yamlet

Read Yamlet
proxy.factor

Calculate Substitute Values for Factor Levels
selected

Identify Selected Names
io_table.data.frame

Export Documented Table
isConditional

Test Object is Conditional
isConditional.default

Test Object is Conditional by Default
list2encoding

Coerce List to Encoding
[[.classified

Element-select Classified
selected.default

Identify Selected Names by Default
modify.default

Modify Attributes of Indicated Components by Default
make_title

Make Title
print.yamlet

Print a Yamlet
is_parseable.default

Check Something is Parseable as Units by Default
io_yamlet.data.frame

Export Data Frame Attributes as Yamlet
resolve.classified

Resolve Classified
io_yamlet.yamlet

Export Yamlet
promote

Promote Something
parsimonious.list

Reduce A List to its Simplest Sufficient Version
isometric

Enforce Isometry
mimic

Try To Look Like Something Else
mutate.decorated

Mutate Decorated
mimic.classified

Try To Make Classified Look Like Another Equal-length Variable
[[.decorated

Element-select Decorated.
proxy

Calculate Substitute Values
singularity

Choose Singular Expression
semi_join.decorated

Semi_join Decorated
[.decorated

a <- as_decorated(as.list(setNames(letters[1:3], LETTERS[1:3]))) attr(a$B, 'label') <- 'foo' a <- a[1:3] attributes(a) Subset Decorated
print.decorated_ggplot

Substitute Expressions, Titles, Labels and Aesthetics in ggplots
to_yamlet.default

Coerce Default to Yamlet Storage Format
redecorate

Redecorate a List-like Object
[<-.classified

Assign Subset of Classified
slice.decorated

Slice Decorated
[<-.decorated

Assign Subset of Decorated
promote.data.frame

Promote Data Frame
right_join.decorated

Right_join Decorated
vec_cast.character.dvec

Cast to character from dvec
to_yamlet.character

Coerce Character to Yamlet Storage Format
promote.default

Promote by Default
vec_cast.classified.factor

Cast to classified from factor
summarise.decorated

Summarise Decorated
[<-.dvec

Assign Subset of Decorated Vector
scale_type.dvec

Determine Scale Type for dvec
[.dvec

Subset Decorated Vector
vec_cast.complex.dvec

Cast to complex from dvec
to_yamlet.yamlet

Coerce Yamlet to Yamlet Storage Format
unclassified.classified

Unclassify Classified
unclassified

Unclassify Something
resolve.data.frame

Resolve Data Frame
reexports

Objects exported from other packages
vec_cast.dvec.logical

Cast to dvec from logical
rescale.dvec

Rescale dvec
vec_cast.classified.classified

Cast to classified from classified
vec_cast.dvec.integer

Cast to dvec from integer
vec_ptype2.dvec.character

Find Common Type for dvec, dvec
vec_ptype2.data.frame.decorated

Determine Common Type for Data.frame and Decorated
vec_ptype2.complex.dvec

Find Common Type for complex, dvec
vec_cast.dvec.double

Cast to dvec from double
vec_ptype2.double.dvec

Find Common Type for double, dvec
[.classified

Subset Classified
[[<-.dvec

Assign Element of Decorated Vector
select.decorated

Select Decorated
scripted

Render Scripted Attributes of Indicated Components
sub_units

Place Units Under Label
[.unit_string

Subset Unit String
vec_cast.logical.dvec

Cast to logical from dvec
vec_cast.dvec.dvec

Cast to dvec from dvec
vec_ptype2.character.dvec

Find Common Type for character, dvec
vec_ptype2.integer.dvec

Find Common Type for integer, dvec
to_yamlet

Coerce to Yamlet Storage Format
unclassified.data.frame

Unclassify Data Frame
type_sum.classified

Summarize Type of Classified
to_yamlet.NULL

Coerce Null to Yamlet Storage Format
vec_ptype_abbr.dvec

Abbreviate Decorated Vector
resolve

Resolve Guide
vec_ptype2.logical.dvec

Find Common Type for logical, dvec
resolve.decorated

Resolve Guide for Decorated
resolve.dvec

Resolve Guide for Decorated Vector
[[.dvec

Element-select Decorated Vector
unclassified.dvec

Unclassify Decorated Vector
yamlet

yamlet: Versatile Curation of Table Metadata
xtable.decorated

Create Export Table for Decorated
write_yamlet

Write Yamlet
vec_ptype2.classified.factor

Find Common Type for classified, factor
vec_cast.data.frame.decorated

Cast to Data.frame from Decorated
vec_ptype2.classified.classified

Find Common Type for classified, classified
vec_cast.decorated.data.frame

Cast to Decorated from Data.frame
[[<-.classified

Assign Element of Classified
[[.unit_string

Element-select Unit String
ungroup.decorated

Ungroup Decorated
[[<-.decorated

Assign Element of Decorated
vec_ptype2.dvec.double

Find Common Type for dvec, double
vec_ptype2.dvec.complex

Find Common Type for dvec, complex
unnest.list

Collapse Uninformative Levels of a List
symmetric

Enforce Symmetry
[.yamlet

Subset Yamlet
to_yamlet.numeric

Coerce Numeric to Yamlet Storage Format
summarize.decorated

Summarize Decorated
to_yamlet.list

Coerce list to yamlet Storage Format
vec_ptype2.dvec.logical

Find Common Type for dvec, logical
vec_cast.factor.classified

Cast to factor from classified
vec_cast.integer.dvec

Cast to integer from dvec
vec_cast.decorated.decorated

Cast to Decorated from Decorated
vec_cast.double.dvec

Cast to double from dvec
unnest.default

Collapse Uninformative Levels by Default
vec_cast.dvec.character

Cast to dvec from character
unnest

Collapse Uninformative Levels
yamlet_options

Display Global Yamlet Options
vec_ptype2.factor.classified

Find Common Type for factor, classified
vec_ptype2.decorated.decorated

Determine Common Type for Decorated
vec_cast.dvec.complex

Cast to dvec from complex
vec_ptype2.decorated.data.frame

Determine Common Type for Decorated and Data.frame
vec_ptype2.dvec.dvec

Find Common Type for dvec, dvec
vec_ptype2.dvec.integer

Find Common Type for dvec, integer
arbitrate

Arbitrate Two Attributes
append_units.data.frame

Append Units for Data Frame
arbitrate.default

Arbitrate Default
append_units.default

Append Units By Default
arbitrate.NULL

Arbitrate Null
append_units

Append Units
alias.data.frame

Alias a Data Frame
anti_join.decorated

Anti_join Decorated
arbitrate.namedList

Arbitrate Named List
arbitrate.list

Arbitrate List