Learn R Programming

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

yamlet (version 1.1.2)

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

375

Version

1.1.2

License

GPL-3

Maintainer

Tim Bergsma

Last Published

September 11th, 2024

Functions in yamlet (1.1.2)

arrange.decorated

Arrange Decorated
as.integer.classified

Coerce Classified to Integer
as.character.yam

Coerce Yam to Character
as_dvec.character

Coerce Character to Decorated Vector
as.character.yamlet

Coerce Yamlet to Character
as_decorated.default

Coerce to Decorated by Default
as_dvec

Coerce to Decorated Vector
as_dvec.dvec

Coerce Decorated Vector to Decorated Vector
as_dvec.units

Coerce Units to Decorated Vector
as_units.dvec

Coerce Decorated Vector to Units
as_unit_string.factor

Coerce Factor to Unit String
as_unit_string

Coerce to Unit String
as_yam.yamlet

Coerce Yamlet to Yam
as_yamlet.character

Coerce Character To Yamlet Format
as_dvec.integer

Coerce Integer to Decorated Vector
as_dvec.complex

Coerce Complex to Decorated Vector
as_yam

Coerce to Yam
as_spork.unit_string

Coerce Unit String to Spork
as_unit_string.symbolic_units

Coerce Symbolic Units to Unit String.
as_dvec.numeric

Coerce Numeric to Decorated Vector
as_dvec.logical

Coerce Logical to Decorated Vector
as_spork.units

Coerce Units to Spork
as_unit_string.units

Coerce Units to Unit String.
as_spork.symbolic_units

Coerce Symbolic Units to Spork
as_unit_string.character

Coerce Character to Unit String
as_yam.character

Coerce Character to Yam
canonical.decorated

Sort Decorations
as_yamlet

Coerce to Yamlet
cell_value

Calculate a Cell Value
canonical

Enforce Canonical Order
as_yamlet.yam

Coerce Yam To Yamlet Format
canonical.yamlet

Sort Yamlet
c.dvec

Combine Decorated Vector
as_yamlet.yamlet

Coerce Yamlet to Yamlet
as_yamlet.data.frame

Coerce Data Frame to Yamlet
c.classified

Combine Classified
classified

Classify Something
as_yamlet.list

Coerce List to Yamlet
classified.data.frame

Classify Data Frame
conditionalize.data.frame

Conditionalize Attributes of Data Frame
classified.dvec

Classify Decorated Vector
classified.factor

Create Classified from Factor
classified.default

Create Classified by Default
conditionalize

Conditionalize Attributes
dd_ptype2

Coerce Common Type to Decorated
classified.classified

Create Classified from Classified
dd_cast

Coerce Data.frame to Decorated
decorate.character

Decorate Character
decorate.list

Decorate List
decorate_groups.data.frame

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

Retrieve Decorations for Data Frame
decorate.data.frame

Decorate Data Frame
decorations_groups.data.frame

Recover Groups Decorations for Data Frame
decorations_groups

Recover Groups Decorations
decorations

Retrieve Decorations
decorate_groups

Capture Groups as Decorations
decorate

Decorate a List-like Object
desolve

Desolve Guide
desolve.decorated

Desolve Guide for Decorated
desolve.classified

Desolve Guide for Classified
encode.yamlet

Encode Yamlet
desolve.data.frame

Desolve Data Frame
desolve.dvec

Desolve Guide for Decorated Vector
drop_title.dvec

Drop Title for Decorated Vector
drop_title.decorated

Drop Title for Decorated
drop_title.default

Drop Title by Default
drop_title

Drop Title
footnote.decorated

Footnote Decorated
explicit_guide.yamlet

Coerce Yamlet Guide to Something More Explicit
footnote

Footnote Something
format.dvec

Format Decorated Vector
filter.decorated

Filter Decorated
explicit_guide.dvec

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

Coerce Data Frame Guide to Something More Explicit
explicit_guide

Coerce Guide to Something More Explicit
gather.decorated

Gather a Decorated Data Frame
full_join.decorated

Full_join Decorated
ggready

Prepare Data for GGplot
group_by_decorations.data.frame

Groups by Decorations for Data Frame
ggplot.decorated

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

Add Symmetry to Plot Object
group_by_decorations

Group by Decorations
ggplot_build.decorated_ggplot

Enable Automatic Labels and Units for ggplot
ggready.decorated

Prepare Decorated Data Frame for GGplot
ggplot_add.ggplot_isometric

Add Isometry to Plot Object
group_by.decorated

Group_by Decorated
ggready.data.frame

Prepare Data Frame for GGplot
implicit_guide

Coerce Guide to Something More Implicit
implicit_guide.dvec

Coerce Decorated Vector Guide to Something More Implicit
io_csv

Import and Export Documented Tables as CSV
io_csv.data.frame

Export Documented Table as CSV
io_res.character

Import Documented Table as Resolved
implicit_guide.data.frame

Coerce Data Frame Guide to Something More Implicit
io_res

Import and Export Resolved Tables
infer_guide

Infer Type of Guide
io_csv.character

Import Documented Table as CSV
inner_join.decorated

Inner_join Decorated
io_yamlet

Import and Export Yamlet
io_table

Import and Export Documented Tables
io_yamlet.character

Import Yamlet
isConditional

Test Object is Conditional
io_yamlet.data.frame

Export Data Frame Attributes as Yamlet
io_table.character

Import Documented Table
io_res.decorated

Export Resolved Table
io_yamlet.yamlet

Export Yamlet
isConditional.default

Test Object is Conditional by Default
io_table.data.frame

Export Documented Table
left_join.decorated

Left_join Decorated
isLevels

Test Value is Levels
isConditional.list

Test List is Conditional
isometric

Enforce Isometry
isLevels.character

Test Character Value is Levels
length.dvec

Get Length of a Decorated Vector
isLevels.default

Test Value is Levels by Default
is_parseable.default

Check Something is Parseable as Units by Default
is_dvec

Test if Class is dvec
mimic.default

Try To Look Like Another Equal-length Variable
modify

Modify Attributes of Indicated Components
mimic

Try To Look Like Something Else
make_title

Make Title
merge.decorated

Merge Decorated
make_title.dvec

Make Title for Decorated Vector
is_parseable

Check Parseable as Units
mimic.classified

Try To Make Classified Look Like Another Equal-length Variable
modify.default

Modify Attributes of Indicated Components by Default
print.decorated_ggplot

Substitute Expressions, Titles, Labels and Aesthetics in ggplots
names<-.decorated

Assign Names of Decorated
parsimonious.list

Reduce A List to its Simplest Sufficient Version
print.decorated_xtable

Print Decorated Xtable
print.dvec

Print Decorated Vector
list2encoding

Coerce List to Encoding
make_title.default

Make Title by Default
named

Evaluate Named Arguments
parsimonious

Reduce Something to its Simplest Sufficient Version
make_title.decorated

Make Title for Decorated
mutate.decorated

Mutate Decorated
parsimonious.default

Reduce by Default to Simplest Sufficient Version
print.yamlet

Print a Yamlet
read_yamlet

Read Yamlet
promote

Promote Something
proxy.factor

Calculate Substitute Values for Factor Levels
reconcile.list

Reconcile Atttributes of List Members
promote.default

Promote by Default
proxy

Calculate Substitute Values
promote.data.frame

Promote Data Frame
promote.list

Promote a List
reconcile

Reconcile Atttributes
resolve.data.frame

Resolve Data Frame
resolve.decorated

Resolve Guide for Decorated
scale_type.dvec

Determine Scale Type for dvec
resolve.classified

Resolve Classified
right_join.decorated

Right_join Decorated
resolve

Resolve Guide
rescale.dvec

Rescale dvec
reexports

Objects exported from other packages
redecorate

Redecorate a List-like Object
resolve.dvec

Resolve Guide for Decorated Vector
scripted.default

Render Scripted Attributes of Indicated Components by Default
select.decorated

Select Decorated
[.classified

Subset Classified
slice.decorated

Slice Decorated
selected.default

Identify Selected Names by Default
scripted

Render Scripted Attributes of Indicated Components
selected

Identify Selected Names
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
[.yamlet

Subset Yamlet
[[.unit_string

Element-select Unit String
singularity

Choose Singular Expression
[[<-.decorated

Assign Element of Decorated
[[.decorated

Element-select Decorated.
[[<-.classified

Assign Element of Classified
[.dvec

Subset Decorated Vector
[[.dvec

Element-select Decorated Vector
[[.classified

Element-select Classified
[[<-.dvec

Assign Element of Decorated Vector
[.unit_string

Subset Unit String
sub_units

Place Units Under Label
summarize.decorated

Summarize Decorated
to_yamlet.NULL

Coerce Null to Yamlet Storage Format
[<-.classified

Assign Subset of Classified
symmetric

Enforce Symmetry
to_yamlet.character

Coerce Character to Yamlet Storage Format
summarise.decorated

Summarise Decorated
to_yamlet

Coerce to Yamlet Storage Format
[<-.decorated

Assign Subset of Decorated
[<-.dvec

Assign Subset of Decorated Vector
unclassified.classified

Unclassify Classified
to_yamlet.list

Coerce list to yamlet Storage Format
unclassified

Unclassify Something
to_yamlet.default

Coerce Default to Yamlet Storage Format
to_yamlet.numeric

Coerce Numeric to Yamlet Storage Format
ungroup.decorated

Ungroup Decorated
unclassified.data.frame

Unclassify Data Frame
type_sum.classified

Summarize Type of Classified
unclassified.dvec

Unclassify Decorated Vector
to_yamlet.yamlet

Coerce Yamlet to Yamlet Storage Format
vec_cast.data.frame.decorated

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

Cast to classified from factor
vec_cast.complex.dvec

Cast to complex from dvec
unnest.default

Collapse Uninformative Levels by Default
unnest.list

Collapse Uninformative Levels of a List
unnest

Collapse Uninformative Levels
vec_cast.decorated.data.frame

Cast to Decorated from Data.frame
vec_cast.character.dvec

Cast to character from dvec
vec_cast.classified.classified

Cast to classified from classified
vec_cast.decorated.decorated

Cast to Decorated from Decorated
vec_cast.dvec.logical

Cast to dvec from logical
vec_cast.integer.dvec

Cast to integer from dvec
vec_cast.dvec.integer

Cast to dvec from integer
vec_cast.dvec.dvec

Cast to dvec from dvec
vec_cast.double.dvec

Cast to double from dvec
vec_cast.dvec.complex

Cast to dvec from complex
vec_cast.dvec.character

Cast to dvec from character
vec_cast.factor.classified

Cast to factor from classified
vec_cast.dvec.double

Cast to dvec from double
vec_ptype2.dvec.character

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

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

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

Cast to logical from dvec
vec_ptype2.character.dvec

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

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

Determine Common Type for Decorated
vec_ptype2.classified.factor

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

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

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

Find Common Type for complex, dvec
xtable.decorated

Create Export Table for Decorated
write_yamlet

Write Yamlet
vec_ptype2.logical.dvec

Find Common Type for logical, dvec
yamlet

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

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

Find Common Type for dvec, dvec
vec_ptype_abbr.dvec

Abbreviate Decorated Vector
vec_ptype2.dvec.double

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

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

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

Find Common Type for integer, dvec
yamlet_options

Display Global Yamlet Options
append_units

Append Units
arbitrate.namedList

Arbitrate Named List
arbitrate.NULL

Arbitrate Null
arbitrate.default

Arbitrate Default
append_units.data.frame

Append Units for Data Frame
arbitrate

Arbitrate Two Attributes
anti_join.decorated

Anti_join Decorated
alias.data.frame

Alias a Data Frame
append_units.default

Append Units By Default
arbitrate.list

Arbitrate List
as_decorated

Coerce to Decorated
as.data.frame.yamlet

Coerce Yamlet to Data Frame
as.data.frame.dvec

Coerce Decorated Vector to Data Frame