Learn R Programming

yamlet (version 1.2.1)

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

485

Version

1.2.1

License

GPL-3

Maintainer

Tim Bergsma

Last Published

April 18th, 2025

Functions in yamlet (1.2.1)

as_dvec.integer

Coerce Integer to Decorated Vector
as_dvec.units

Coerce Units to Decorated Vector
as.character.yamlet

Coerce Yamlet to Character
as_unit_string.character

Coerce Character to Unit String
as_dvec.dvec

Coerce Decorated Vector to Decorated Vector
as_spork.symbolic_units

Coerce Symbolic Units to Spork
as_dvec.numeric

Coerce Numeric to Decorated Vector
as_dvec.complex

Coerce Complex to Decorated Vector
canonical.decorated

Sort Decorations
classified.factor

Create Classified from Factor
as_units.dvec

Coerce Decorated Vector to Units
as.integer.classified

Coerce Classified to Integer
as_unit_string.symbolic_units

Coerce Symbolic Units to Unit String.
as_spork.unit_string

Coerce Unit String to Spork
as_unit_string.factor

Coerce Factor to Unit String
classified.dvec

Classify Decorated Vector
as_yam

Coerce to Yam
as_dvec.logical

Coerce Logical to Decorated Vector
as.data.frame.dvec

Coerce Decorated Vector to Data Frame
canonical

Enforce Canonical Order
as.data.frame.yamlet

Coerce Yamlet to Data Frame
c.dvec

Combine Decorated Vector
c.classified

Combine Classified
drop_title.dvec

Drop Title for Decorated Vector
classified

Classify Something
encode.yamlet

Encode Yamlet
decorate.data.frame

Decorate Data Frame
drop_title

Drop Title
conditionalize

Conditionalize Attributes
filter.decorated

Filter Decorated
footnote

Footnote Something
as_spork.units

Coerce Units to Spork
as_decorated.default

Coerce to Decorated by Default
as_decorated

Coerce to Decorated
decorate_groups.data.frame

Capture Groups as Decorations for Data Frame
conditionalize.data.frame

Conditionalize Attributes of Data Frame
decorate.list

Decorate List
as_yamlet.character

Coerce Character To Yamlet Format
as_yamlet

Coerce to Yamlet
desolve.dvec

Desolve Guide for Decorated Vector
classified.classified

Create Classified from Classified
decorate_groups

Capture Groups as Decorations
canonical.yamlet

Sort Yamlet
ggready

Prepare Data for GGplot
as_unit_string.units

Coerce Units to Unit String.
as_unit_string

Coerce to Unit String
desolve

Desolve Guide
desolve.classified

Desolve Guide for Classified
ggready.data.frame

Prepare Data Frame for GGplot
footnote.decorated

Footnote Decorated
format.dvec

Format Decorated Vector
ggplot.decorated

Create a New ggplot for a Decorated Data Frame
io_table

Import and Export Documented Tables
is_dvec

Test if Class is dvec
as_yam.character

Coerce Character to Yam
implicit_guide.data.frame

Coerce Data Frame Guide to Something More Implicit
io_table.character

Import Documented Table
io_yamlet.data.frame

Export Data Frame Attributes as Yamlet
infer_guide

Infer Type of Guide
ggplot_add.ggplot_isometric

Add Isometry to Plot Object
io_res.decorated

Export Resolved Table
get_labs

Get Labels
as_yam.yamlet

Coerce Yamlet to Yam
implicit_guide

Coerce Guide to Something More Implicit
io_table.data.frame

Export Documented Table
is_parseable

Check Parseable as Units
implicit_guide.dvec

Coerce Decorated Vector Guide to Something More Implicit
is_parseable.default

Check Something is Parseable as Units by Default
named

Evaluate Named Arguments
isometric

Enforce Isometry
make_title.decorated

Make Title for Decorated
io_yamlet.yamlet

Export Yamlet
names<-.decorated

Assign Names of Decorated
cell_value

Calculate a Cell Value
decorations_groups.data.frame

Recover Groups Decorations for Data Frame
gg_new

Detect Revised Label Strategy
as_yamlet.list

Coerce List to Yamlet
explicit_guide.data.frame

Coerce Data Frame Guide to Something More Explicit
as_yamlet.yam

Coerce Yam To Yamlet Format
print.yamlet

Print a Yamlet
explicit_guide

Coerce Guide to Something More Explicit
promote

Promote Something
drop_title.decorated

Drop Title for Decorated
decorations_groups

Recover Groups Decorations
decorate

Decorate a List-like Object
parsimonious

Reduce Something to its Simplest Sufficient Version
as_yamlet.yamlet

Coerce Yamlet to Yamlet
ggready.decorated

Prepare Decorated Data Frame for GGplot
dd_cast

Coerce Data.frame to Decorated
drop_title.default

Drop Title by Default
decorate.character

Decorate Character
enscript.default

Render Scripted Attributes of Indicated Components by Default
dd_ptype2

Coerce Common Type to Decorated
enscript

Render Scripted Attributes of Indicated Components
make_title.default

Make Title by Default
group_by.decorated

Group_by Decorated
io_res

Import and Export Resolved Tables
as_yamlet.data.frame

Coerce Data Frame to Yamlet
reconcile

Reconcile Atttributes
isConditional

Test Object is Conditional
desolve.decorated

Desolve Guide for Decorated
classified.default

Create Classified by Default
decorations.data.frame

Retrieve Decorations for Data Frame
decorations

Retrieve Decorations
desolve.data.frame

Desolve Data Frame
classified.data.frame

Classify Data Frame
group_by_decorations.data.frame

Groups by Decorations for Data Frame
promote.data.frame

Promote Data Frame
io_res.character

Import Documented Table as Resolved
explicit_guide.dvec

Coerce Decorated Vector Guide to Something More Explicit
io_csv.data.frame

Export Documented Table as CSV
group_by_decorations

Group by Decorations
explicit_guide.yamlet

Coerce Yamlet Guide to Something More Explicit
gather.decorated

Gather a Decorated Data Frame
io_csv.character

Import Documented Table as CSV
parsimonious.default

Reduce by Default to Simplest Sufficient Version
ggplot_add.ggplot_symmetric

Add Symmetry to Plot Object
promote.default

Promote by Default
full_join.decorated

Full_join Decorated
isConditional.default

Test Object is Conditional by Default
list2encoding

Coerce List to Encoding
isLevels.character

Test Character Value is Levels
mimic.default

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

Left_join Decorated
length.dvec

Get Length of a Decorated Vector
print.decorated_ggplot

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

Modify Attributes of Indicated Components by Default
read_yamlet

Read Yamlet
isLevels.default

Test Value is Levels by Default
parsimonious.list

Reduce A List to its Simplest Sufficient Version
merge.decorated

Merge Decorated
make_title.dvec

Make Title for Decorated Vector
make_title

Make Title
proxy.factor

Calculate Substitute Values for Factor Levels
print.decorated_xtable

Print Decorated Xtable
print.dvec

Print Decorated Vector
mutate.decorated

Mutate Decorated
semi_join.decorated

Semi_join Decorated
modify

Modify Attributes of Indicated Components
[[.classified

Element-select Classified
singularity

Choose Singular Expression
resolve.classified

Resolve Classified
resolve.decorated

Resolve Guide for Decorated
unclassified.classified

Unclassify Classified
unclassified

Unclassify Something
[<-.classified

Assign Subset of Classified
reconcile.list

Reconcile Atttributes of List Members
[[.decorated

Element-select Decorated.
[<-.dvec

Assign Subset of Decorated Vector
slice.decorated

Slice Decorated
summarise.decorated

Summarise Decorated
[.classified

Subset Classified
to_yamlet.yamlet

Coerce Yamlet to Yamlet Storage Format
vec_cast.double.dvec

Cast to double from dvec
vec_cast.decorated.decorated

Cast to Decorated from Decorated
resolve.data.frame

Resolve Data Frame
[<-.decorated

Assign Subset of Decorated
resolve.dvec

Resolve Guide for Decorated Vector
vec_cast.classified.factor

Cast to classified from factor
type_sum.classified

Summarize Type of Classified
summarize.decorated

Summarize Decorated
ggplot_build.decorated_ggplot

Enable Automatic Labels and Units for ggplot
rescale.dvec

Rescale dvec
resolve

Resolve Guide
[[.dvec

Element-select Decorated Vector
[[.unit_string

Element-select Unit String
right_join.decorated

Right_join Decorated
scale_type.dvec

Determine Scale Type for dvec
io_csv

Import and Export Documented Tables as CSV
inner_join.decorated

Inner_join Decorated
io_yamlet

Import and Export Yamlet
isLevels

Test Value is Levels
mimic.classified

Try To Make Classified Look Like Another Equal-length Variable
isConditional.list

Test List is Conditional
mimic

Try To Look Like Something Else
promote.list

Promote a List
proxy

Calculate Substitute Values
io_yamlet.character

Import Yamlet
redecorate

Redecorate a List-like Object
reexports

Objects exported from other packages
selected

Identify Selected Names
[[<-.classified

Assign Element of Classified
[[<-.decorated

Assign Element of Decorated
selected.default

Identify Selected Names by Default
[[<-.dvec

Assign Element of Decorated Vector
sub_units

Place Units Under Label
[.dvec

Subset Decorated Vector
[.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
symmetric

Enforce Symmetry
vec_cast.character.dvec

Cast to character from dvec
to_yamlet.NULL

Coerce Null to Yamlet Storage Format
to_yamlet

Coerce to Yamlet Storage Format
unnest.default

Collapse Uninformative Levels by Default
scripted

Render Scripted Attributes of Indicated Components
select.decorated

Select Decorated
[.yamlet

Subset Yamlet
[.unit_string

Subset Unit String
to_yamlet.list

Coerce list to yamlet Storage Format
vec_ptype2.complex.dvec

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

Cast to classified from classified
vec_cast.logical.dvec

Cast to logical from dvec
vec_ptype2.character.dvec

Find Common Type for character, dvec
to_yamlet.numeric

Coerce Numeric to Yamlet Storage Format
vec_ptype2.dvec.dvec

Find Common Type for dvec, dvec
unnest.list

Collapse Uninformative Levels of a List
vec_cast.dvec.double

Cast to dvec from double
vec_cast.complex.dvec

Cast to complex from dvec
vec_ptype2.dvec.integer

Find Common Type for dvec, integer
vec_cast.data.frame.decorated

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

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

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

Find Common Type for dvec, logical
unclassified.dvec

Unclassify Decorated Vector
unclassified.data.frame

Unclassify Data Frame
to_yamlet.default

Coerce Default to Yamlet Storage Format
ungroup.decorated

Ungroup Decorated
vec_ptype2.integer.dvec

Find Common Type for integer, dvec
write_yamlet

Write Yamlet
vec_ptype2.logical.dvec

Find Common Type for logical, dvec
vec_ptype_abbr.dvec

Abbreviate Decorated Vector
vec_cast.decorated.data.frame

Cast to Decorated from Data.frame
yamlet_options

Display Global Yamlet Options
to_yamlet.character

Coerce Character to Yamlet Storage Format
vec_cast.integer.dvec

Cast to integer from dvec
vec_cast.factor.classified

Cast to factor from classified
vec_cast.dvec.dvec

Cast to dvec from dvec
vec_cast.dvec.complex

Cast to dvec from complex
vec_cast.dvec.character

Cast to dvec from character
unnest

Collapse Uninformative Levels
vec_cast.dvec.integer

Cast to dvec from integer
vec_ptype2.decorated.decorated

Determine Common Type for Decorated
vec_ptype2.decorated.data.frame

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

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

Cast to dvec from logical
vec_ptype2.classified.classified

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

Find Common Type for classified, factor
yamlet

yamlet: Versatile Curation of Table Metadata
vec_ptype2.dvec.character

Find Common Type for dvec, dvec
xtable.decorated

Create Export Table for Decorated
vec_ptype2.dvec.complex

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

Find Common Type for dvec, double
arbitrate.default

Arbitrate Default
alias.data.frame

Alias a Data Frame
append_units.data.frame

Append Units for Data Frame
anti_join.decorated

Anti_join Decorated
arbitrate.NULL

Arbitrate Null
arbitrate

Arbitrate Two Attributes
append_units.default

Append Units By Default
append_units

Append Units
arbitrate.namedList

Arbitrate Named List
arbitrate.list

Arbitrate List
as_dvec.character

Coerce Character to Decorated Vector
as_dvec

Coerce to Decorated Vector
arrange.decorated

Arrange Decorated
as.character.yam

Coerce Yam to Character