Learn R Programming

⚠️There's a newer version (1.2.1) of this package.Take me there.

yamlet (version 1.2.0)

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.0

License

GPL-3

Maintainer

Tim Bergsma

Last Published

November 26th, 2024

Functions in yamlet (1.2.0)

as.character.yamlet

Coerce Yamlet to Character
as_dvec.complex

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

Coerce Decorated Vector to Data Frame
as_unit_string.character

Coerce Character to Unit String
as_dvec.dvec

Coerce Decorated Vector to Decorated Vector
as_unit_string.factor

Coerce Factor to Unit String
as_yamlet

Coerce to Yamlet
as_yamlet.character

Coerce Character To Yamlet Format
as_unit_string

Coerce to Unit String
as_units.dvec

Coerce Decorated Vector to Units
canonical.decorated

Sort Decorations
as_yam.yamlet

Coerce Yamlet to Yam
c.dvec

Combine Decorated Vector
as_yam

Coerce to Yam
as_yamlet.yam

Coerce Yam To Yamlet Format
as_dvec.logical

Coerce Logical to Decorated Vector
as_spork.units

Coerce Units to Spork
as_spork.symbolic_units

Coerce Symbolic Units to Spork
as_dvec.integer

Coerce Integer to Decorated Vector
as_yam.character

Coerce Character to Yam
canonical

Enforce Canonical Order
c.classified

Combine Classified
dd_ptype2

Coerce Common Type to Decorated
as_yamlet.yamlet

Coerce Yamlet to Yamlet
as_dvec.numeric

Coerce Numeric to Decorated Vector
dd_cast

Coerce Data.frame to Decorated
classified.factor

Create Classified from Factor
classified.dvec

Classify Decorated Vector
decorate.data.frame

Decorate Data Frame
as_spork.unit_string

Coerce Unit String to Spork
as_unit_string.symbolic_units

Coerce Symbolic Units to Unit String.
classified.default

Create Classified by Default
decorations.data.frame

Retrieve Decorations for Data Frame
classified.data.frame

Classify Data Frame
decorations

Retrieve Decorations
as_yamlet.data.frame

Coerce Data Frame to Yamlet
as_unit_string.units

Coerce Units to Unit String.
desolve.dvec

Desolve Guide for Decorated Vector
decorate

Decorate a List-like Object
classified

Classify Something
as_yamlet.list

Coerce List to Yamlet
drop_title

Drop Title
classified.classified

Create Classified from Classified
decorate_groups.data.frame

Capture Groups as Decorations for Data Frame
as_dvec.units

Coerce Units to Decorated Vector
filter.decorated

Filter Decorated
decorate_groups

Capture Groups as Decorations
desolve.decorated

Desolve Guide for Decorated
desolve.data.frame

Desolve Data Frame
footnote

Footnote Something
ggready.data.frame

Prepare Data Frame for GGplot
decorate.list

Decorate List
ggready

Prepare Data for GGplot
explicit_guide.dvec

Coerce Decorated Vector Guide to Something More Explicit
explicit_guide.yamlet

Coerce Yamlet Guide to Something More Explicit
decorate.character

Decorate Character
ggready.decorated

Prepare Decorated Data Frame for GGplot
canonical.yamlet

Sort Yamlet
cell_value

Calculate a Cell Value
ggplot.decorated

Create a New ggplot for a Decorated Data Frame
ggplot_add.ggplot_isometric

Add Isometry to Plot Object
infer_guide

Infer Type of Guide
group_by.decorated

Group_by Decorated
implicit_guide.dvec

Coerce Decorated Vector Guide to Something More Implicit
decorations_groups.data.frame

Recover Groups Decorations for Data Frame
enscript.default

Render Scripted Attributes of Indicated Components by Default
enscript

Render Scripted Attributes of Indicated Components
conditionalize

Conditionalize Attributes
drop_title.dvec

Drop Title for Decorated Vector
full_join.decorated

Full_join Decorated
implicit_guide.data.frame

Coerce Data Frame Guide to Something More Implicit
decorations_groups

Recover Groups Decorations
implicit_guide

Coerce Guide to Something More Implicit
gather.decorated

Gather a Decorated Data Frame
conditionalize.data.frame

Conditionalize Attributes of Data Frame
encode.yamlet

Encode Yamlet
io_table

Import and Export Documented Tables
desolve

Desolve Guide
isConditional

Test Object is Conditional
io_res.decorated

Export Resolved Table
io_table.character

Import Documented Table
desolve.classified

Desolve Guide for Classified
footnote.decorated

Footnote Decorated
io_table.data.frame

Export Documented Table
isConditional.list

Test List is Conditional
isLevels

Test Value is Levels
io_csv.data.frame

Export Documented Table as CSV
isLevels.character

Test Character Value is Levels
isLevels.default

Test Value is Levels by Default
length.dvec

Get Length of a Decorated Vector
group_by_decorations

Group by Decorations
isConditional.default

Test Object is Conditional by Default
mimic

Try To Look Like Something Else
drop_title.default

Drop Title by Default
ggplot_add.ggplot_symmetric

Add Symmetry to Plot Object
io_csv.character

Import Documented Table as CSV
drop_title.decorated

Drop Title for Decorated
explicit_guide.data.frame

Coerce Data Frame Guide to Something More Explicit
explicit_guide

Coerce Guide to Something More Explicit
format.dvec

Format Decorated Vector
named

Evaluate Named Arguments
ggplot_build.decorated_ggplot

Enable Automatic Labels and Units for ggplot
names<-.decorated

Assign Names of Decorated
left_join.decorated

Left_join Decorated
parsimonious

Reduce Something to its Simplest Sufficient Version
rescale.dvec

Rescale dvec
make_title.decorated

Make Title for Decorated
inner_join.decorated

Inner_join Decorated
make_title.default

Make Title by Default
mimic.classified

Try To Make Classified Look Like Another Equal-length Variable
io_csv

Import and Export Documented Tables as CSV
print.yamlet

Print a Yamlet
io_yamlet.character

Import Yamlet
group_by_decorations.data.frame

Groups by Decorations for Data Frame
io_yamlet.data.frame

Export Data Frame Attributes as Yamlet
io_yamlet

Import and Export Yamlet
is_parseable.default

Check Something is Parseable as Units by Default
mimic.default

Try To Look Like Another Equal-length Variable
isometric

Enforce Isometry
promote.default

Promote by Default
modify

Modify Attributes of Indicated Components
promote.data.frame

Promote Data Frame
redecorate

Redecorate a List-like Object
promote

Promote Something
right_join.decorated

Right_join Decorated
merge.decorated

Merge Decorated
slice.decorated

Slice Decorated
[<-.classified

Assign Subset of Classified
io_yamlet.yamlet

Export Yamlet
scale_type.dvec

Determine Scale Type for dvec
make_title.dvec

Make Title for Decorated Vector
is_dvec

Test if Class is dvec
resolve

Resolve Guide
io_res.character

Import Documented Table as Resolved
io_res

Import and Export Resolved Tables
parsimonious.default

Reduce by Default to Simplest Sufficient Version
is_parseable

Check Parseable as Units
[<-.decorated

Assign Subset of Decorated
reexports

Objects exported from other packages
[.yamlet

Subset Yamlet
selected.default

Identify Selected Names by Default
[.unit_string

Subset Unit String
list2encoding

Coerce List to Encoding
[.classified

Subset Classified
selected

Identify Selected Names
make_title

Make Title
parsimonious.list

Reduce A List to its Simplest Sufficient Version
[.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
to_yamlet.list

Coerce list to yamlet Storage Format
summarize.decorated

Summarize Decorated
unnest.list

Collapse Uninformative Levels of a List
symmetric

Enforce Symmetry
to_yamlet.numeric

Coerce Numeric to Yamlet Storage Format
unnest.default

Collapse Uninformative Levels by Default
promote.list

Promote a List
[.dvec

Subset Decorated Vector
to_yamlet

Coerce to Yamlet Storage Format
vec_ptype2.classified.classified

Find Common Type for classified, classified
to_yamlet.NULL

Coerce Null to Yamlet Storage Format
vec_ptype2.classified.factor

Find Common Type for classified, factor
proxy

Calculate Substitute Values
resolve.classified

Resolve Classified
ungroup.decorated

Ungroup Decorated
unclassified.classified

Unclassify Classified
unclassified

Unclassify Something
unnest

Collapse Uninformative Levels
write_yamlet

Write Yamlet
modify.default

Modify Attributes of Indicated Components by Default
[[.unit_string

Element-select Unit String
vec_cast.dvec.character

Cast to dvec from character
singularity

Choose Singular Expression
vec_ptype_abbr.dvec

Abbreviate Decorated Vector
semi_join.decorated

Semi_join Decorated
resolve.data.frame

Resolve Data Frame
mutate.decorated

Mutate Decorated
[[.dvec

Element-select Decorated Vector
[[<-.dvec

Assign Element of Decorated Vector
print.decorated_ggplot

Substitute Expressions, Titles, Labels and Aesthetics in ggplots
read_yamlet

Read Yamlet
to_yamlet.yamlet

Coerce Yamlet to Yamlet Storage Format
vec_cast.classified.factor

Cast to classified from factor
proxy.factor

Calculate Substitute Values for Factor Levels
sub_units

Place Units Under Label
type_sum.classified

Summarize Type of Classified
vec_cast.complex.dvec

Cast to complex from dvec
vec_cast.factor.classified

Cast to factor from classified
vec_cast.integer.dvec

Cast to integer from dvec
vec_cast.dvec.complex

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

Determine Common Type for Decorated and Data.frame
[[.classified

Element-select Classified
reconcile

Reconcile Atttributes
unclassified.dvec

Unclassify Decorated Vector
unclassified.data.frame

Unclassify Data Frame
reconcile.list

Reconcile Atttributes of List Members
vec_cast.decorated.data.frame

Cast to Decorated from Data.frame
resolve.decorated

Resolve Guide for Decorated
vec_ptype2.character.dvec

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

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

Cast to dvec from double
vec_cast.logical.dvec

Cast to logical from dvec
vec_cast.data.frame.decorated

Cast to Data.frame from Decorated
print.dvec

Print Decorated Vector
[[.decorated

Element-select Decorated.
print.decorated_xtable

Print Decorated Xtable
vec_ptype2.dvec.integer

Find Common Type for dvec, integer
resolve.dvec

Resolve Guide for Decorated Vector
vec_ptype2.decorated.decorated

Determine Common Type for 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_cast.dvec.dvec

Cast to dvec from dvec
vec_ptype2.complex.dvec

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

Cast to Decorated from Decorated
vec_ptype2.dvec.logical

Find Common Type for dvec, logical
select.decorated

Select Decorated
scripted

Render Scripted Attributes of Indicated Components
vec_cast.double.dvec

Cast to double from dvec
[[<-.classified

Assign Element of Classified
vec_ptype2.dvec.double

Find Common Type for dvec, double
yamlet_options

Display Global Yamlet Options
to_yamlet.character

Coerce Character to Yamlet Storage Format
vec_cast.dvec.logical

Cast to dvec from logical
vec_ptype2.double.dvec

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

Find Common Type for dvec, complex
[<-.dvec

Assign Subset of Decorated Vector
[[<-.decorated

Assign Element of Decorated
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_cast.character.dvec

Cast to character from dvec
vec_ptype2.integer.dvec

Find Common Type for integer, dvec
summarise.decorated

Summarise Decorated
to_yamlet.default

Coerce Default to Yamlet Storage Format
yamlet

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

Find Common Type for logical, dvec
xtable.decorated

Create Export Table for Decorated
append_units.data.frame

Append Units for Data Frame
append_units

Append Units
arbitrate.default

Arbitrate Default
alias.data.frame

Alias a Data Frame
arbitrate

Arbitrate Two Attributes
arbitrate.list

Arbitrate List
arbitrate.namedList

Arbitrate Named List
arbitrate.NULL

Arbitrate Null
anti_join.decorated

Anti_join Decorated
append_units.default

Append Units By Default
as.character.yam

Coerce Yam to Character
as_decorated.default

Coerce to Decorated by Default
arrange.decorated

Arrange Decorated
as_decorated

Coerce to Decorated
as_dvec

Coerce to Decorated Vector
as.integer.classified

Coerce Classified to Integer
as_dvec.character

Coerce Character to Decorated Vector
as.data.frame.yamlet

Coerce Yamlet to Data Frame