Learn R Programming

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

yamlet (version 1.1.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

375

Version

1.1.5

License

GPL-3

Maintainer

Tim Bergsma

Last Published

November 14th, 2024

Functions in yamlet (1.1.5)

as.integer.classified

Coerce Classified to Integer
as.data.frame.yamlet

Coerce Yamlet to Data Frame
as_spork.symbolic_units

Coerce Symbolic Units to Spork
as_spork.unit_string

Coerce Unit String to Spork
as_dvec.units

Coerce Units to Decorated Vector
as_dvec.numeric

Coerce Numeric to Decorated Vector
as.character.yamlet

Coerce Yamlet to Character
as_spork.units

Coerce Units to Spork
as.data.frame.dvec

Coerce Decorated Vector to Data Frame
as_unit_string

Coerce to Unit String
as_yamlet

Coerce to Yamlet
as_yamlet.character

Coerce Character To Yamlet Format
as_units.dvec

Coerce Decorated Vector to Units
as_yam

Coerce to Yam
as_dvec.complex

Coerce Complex to Decorated Vector
as_yam.yamlet

Coerce Yamlet to Yam
as_dvec.logical

Coerce Logical to Decorated Vector
as_unit_string.character

Coerce Character to Unit String
as_dvec.dvec

Coerce Decorated Vector to Decorated Vector
as_dvec.integer

Coerce Integer to Decorated Vector
as_unit_string.factor

Coerce Factor to Unit String
as_yam.character

Coerce Character to Yam
canonical.decorated

Sort Decorations
canonical.yamlet

Sort Yamlet
conditionalize.data.frame

Conditionalize Attributes of Data Frame
as_yamlet.list

Coerce List to Yamlet
as_yamlet.yamlet

Coerce Yamlet to Yamlet
classified.dvec

Classify Decorated Vector
canonical

Enforce Canonical Order
classified.factor

Create Classified from Factor
as_yamlet.yam

Coerce Yam To Yamlet Format
as_yamlet.data.frame

Coerce Data Frame to Yamlet
conditionalize

Conditionalize Attributes
as_unit_string.units

Coerce Units to Unit String.
decorations

Retrieve Decorations
as_unit_string.symbolic_units

Coerce Symbolic Units to Unit String.
classified

Classify Something
cell_value

Calculate a Cell Value
classified.classified

Create Classified from Classified
classified.data.frame

Classify Data Frame
c.classified

Combine Classified
c.dvec

Combine Decorated Vector
desolve.classified

Desolve Guide for Classified
decorations.data.frame

Retrieve Decorations for Data Frame
decorate.character

Decorate Character
desolve.dvec

Desolve Guide for Decorated Vector
desolve

Desolve Guide
decorate

Decorate a List-like Object
drop_title

Drop Title
classified.default

Create Classified by Default
gather.decorated

Gather a Decorated Data Frame
dd_cast

Coerce Data.frame to Decorated
full_join.decorated

Full_join Decorated
ggplot.decorated

Create a New ggplot for a Decorated Data Frame
drop_title.dvec

Drop Title for Decorated Vector
explicit_guide.data.frame

Coerce Data Frame Guide to Something More Explicit
encode.yamlet

Encode Yamlet
explicit_guide

Coerce Guide to Something More Explicit
decorations_groups.data.frame

Recover Groups Decorations for Data Frame
drop_title.decorated

Drop Title for Decorated
drop_title.default

Drop Title by Default
dd_ptype2

Coerce Common Type to Decorated
decorations_groups

Recover Groups Decorations
explicit_guide.dvec

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

Groups by Decorations for Data Frame
ggplot_add.ggplot_isometric

Add Isometry to Plot Object
io_res.character

Import Documented Table as Resolved
group_by_decorations

Group by Decorations
io_res

Import and Export Resolved Tables
implicit_guide.dvec

Coerce Decorated Vector Guide to Something More Implicit
decorate_groups

Capture Groups as Decorations
desolve.decorated

Desolve Guide for Decorated
decorate_groups.data.frame

Capture Groups as Decorations for Data Frame
io_table

Import and Export Documented Tables
io_res.decorated

Export Resolved Table
filter.decorated

Filter Decorated
desolve.data.frame

Desolve Data Frame
io_yamlet

Import and Export Yamlet
io_yamlet.character

Import Yamlet
ggready.decorated

Prepare Decorated Data Frame for GGplot
isConditional.default

Test Object is Conditional by Default
ggplot_build.decorated_ggplot

Enable Automatic Labels and Units for ggplot
io_csv.character

Import Documented Table as CSV
footnote

Footnote Something
io_csv.data.frame

Export Documented Table as CSV
explicit_guide.yamlet

Coerce Yamlet Guide to Something More Explicit
ggplot_add.ggplot_symmetric

Add Symmetry to Plot Object
infer_guide

Infer Type of Guide
group_by.decorated

Group_by Decorated
isConditional

Test Object is Conditional
left_join.decorated

Left_join Decorated
make_title

Make Title
isLevels.character

Test Character Value is Levels
list2encoding

Coerce List to Encoding
io_csv

Import and Export Documented Tables as CSV
inner_join.decorated

Inner_join Decorated
length.dvec

Get Length of a Decorated Vector
print.decorated_ggplot

Substitute Expressions, Titles, Labels and Aesthetics in ggplots
mimic

Try To Look Like Something Else
isometric

Enforce Isometry
is_parseable.default

Check Something is Parseable as Units by Default
mimic.classified

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

Reduce A List to its Simplest Sufficient Version
io_table.character

Import Documented Table
isLevels.default

Test Value is Levels by Default
mimic.default

Try To Look Like Another Equal-length Variable
modify

Modify Attributes of Indicated Components
isConditional.list

Test List is Conditional
named

Evaluate Named Arguments
isLevels

Test Value is Levels
io_table.data.frame

Export Documented Table
make_title.decorated

Make Title for Decorated
read_yamlet

Read Yamlet
decorate.data.frame

Decorate Data Frame
redecorate

Redecorate a List-like Object
reexports

Objects exported from other packages
proxy.factor

Calculate Substitute Values for Factor Levels
print.dvec

Print Decorated Vector
make_title.default

Make Title by Default
decorate.list

Decorate List
print.decorated_xtable

Print Decorated Xtable
rescale.dvec

Rescale dvec
ggready.data.frame

Prepare Data Frame for GGplot
format.dvec

Format Decorated Vector
footnote.decorated

Footnote Decorated
ggready

Prepare Data for GGplot
resolve.decorated

Resolve Guide for Decorated
merge.decorated

Merge Decorated
make_title.dvec

Make Title for Decorated Vector
promote.list

Promote a List
resolve

Resolve Guide
slice.decorated

Slice Decorated
proxy

Calculate Substitute Values
singularity

Choose Singular Expression
modify.default

Modify Attributes of Indicated Components by Default
reconcile

Reconcile Atttributes
[[.unit_string

Element-select Unit String
promote.default

Promote by Default
promote.data.frame

Promote Data Frame
implicit_guide

Coerce Guide to Something More Implicit
names<-.decorated

Assign Names of Decorated
mutate.decorated

Mutate Decorated
[[.decorated

Element-select Decorated.
selected.default

Identify Selected Names by Default
right_join.decorated

Right_join Decorated
resolve.dvec

Resolve Guide for Decorated Vector
scale_type.dvec

Determine Scale Type for dvec
to_yamlet

Coerce to Yamlet Storage Format
[.yamlet

Subset Yamlet
reconcile.list

Reconcile Atttributes of List Members
[[.dvec

Element-select Decorated Vector
to_yamlet.NULL

Coerce Null to Yamlet Storage Format
resolve.data.frame

Resolve Data Frame
to_yamlet.character

Coerce Character to Yamlet Storage Format
resolve.classified

Resolve Classified
semi_join.decorated

Semi_join Decorated
[[<-.classified

Assign Element of Classified
vec_cast.dvec.complex

Cast to dvec from complex
symmetric

Enforce Symmetry
summarize.decorated

Summarize Decorated
vec_cast.dvec.double

Cast to dvec from double
scripted

Render Scripted Attributes of Indicated Components
summarise.decorated

Summarise Decorated
implicit_guide.data.frame

Coerce Data Frame Guide to Something More Implicit
[[.classified

Element-select Classified
unclassified.dvec

Unclassify Decorated Vector
unclassified.classified

Unclassify Classified
ungroup.decorated

Ungroup Decorated
[.classified

Subset Classified
vec_cast.classified.classified

Cast to classified from classified
vec_cast.double.dvec

Cast to double from dvec
unclassified.data.frame

Unclassify Data Frame
vec_cast.character.dvec

Cast to character from dvec
unnest.list

Collapse Uninformative Levels of a List
vec_cast.dvec.character

Cast to dvec from character
[.dvec

Subset Decorated Vector
[.unit_string

Subset Unit String
vec_ptype2.complex.dvec

Find Common Type for complex, dvec
[.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
is_dvec

Test if Class is dvec
parsimonious.default

Reduce by Default to Simplest Sufficient Version
vec_ptype2.dvec.logical

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

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

Find Common Type for dvec, integer
io_yamlet.data.frame

Export Data Frame Attributes as Yamlet
io_yamlet.yamlet

Export Yamlet
parsimonious

Reduce Something to its Simplest Sufficient Version
vec_ptype2.decorated.decorated

Determine Common Type for Decorated
is_parseable

Check Parseable as Units
vec_cast.classified.factor

Cast to classified from factor
scripted.default

Render Scripted Attributes of Indicated Components by Default
[[<-.decorated

Assign Element of Decorated
[<-.decorated

Assign Subset of Decorated
promote

Promote Something
print.yamlet

Print a Yamlet
select.decorated

Select Decorated
vec_ptype2.double.dvec

Find Common Type for double, dvec
selected

Identify Selected Names
type_sum.classified

Summarize Type of Classified
vec_cast.dvec.dvec

Cast to dvec from dvec
vec_ptype2.logical.dvec

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

Cast to dvec from integer
[<-.dvec

Assign Subset of Decorated Vector
yamlet

yamlet: Versatile Curation of Table Metadata
yamlet_options

Display Global Yamlet Options
unclassified

Unclassify Something
vec_ptype_abbr.dvec

Abbreviate Decorated Vector
unnest

Collapse Uninformative Levels
vec_ptype2.character.dvec

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

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

Cast to complex from dvec
to_yamlet.default

Coerce Default to Yamlet Storage Format
vec_ptype2.data.frame.decorated

Determine Common Type for Data.frame and Decorated
vec_cast.factor.classified

Cast to factor from classified
vec_ptype2.classified.classified

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

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

Determine Common Type for Decorated and Data.frame
to_yamlet.list

Coerce list to yamlet Storage Format
vec_ptype2.dvec.dvec

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

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

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

Find Common Type for factor, classified
[[<-.dvec

Assign Element of Decorated Vector
[<-.classified

Assign Subset of Classified
to_yamlet.numeric

Coerce Numeric to Yamlet Storage Format
sub_units

Place Units Under Label
vec_cast.decorated.data.frame

Cast to Decorated from Data.frame
to_yamlet.yamlet

Coerce Yamlet to Yamlet Storage Format
vec_cast.decorated.decorated

Cast to Decorated from Decorated
vec_ptype2.dvec.character

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

Cast to logical from dvec
vec_cast.integer.dvec

Cast to integer from dvec
vec_ptype2.dvec.complex

Find Common Type for dvec, complex
unnest.default

Collapse Uninformative Levels by Default
write_yamlet

Write Yamlet
xtable.decorated

Create Export Table for Decorated
arbitrate

Arbitrate Two Attributes
arbitrate.default

Arbitrate Default
arbitrate.NULL

Arbitrate Null
append_units

Append Units
arbitrate.list

Arbitrate List
as_decorated

Coerce to Decorated
append_units.data.frame

Append Units for Data Frame
arbitrate.namedList

Arbitrate Named List
append_units.default

Append Units By Default
anti_join.decorated

Anti_join Decorated
as_decorated.default

Coerce to Decorated by Default
alias.data.frame

Alias a Data Frame
as_dvec

Coerce to Decorated Vector
arrange.decorated

Arrange Decorated
as.character.yam

Coerce Yam to Character
as_dvec.character

Coerce Character to Decorated Vector