Learn R Programming

spec (version 0.1.9)

A Data Specification Format and Interface

Description

Creates a data specification that describes the columns of a table (data.frame). Provides methods to read, write, and update the specification. Checks whether a table matches its specification. See specification.data.frame(),read.spec(), write.spec(), as.csv.spec(), respecify.character(), and %matches%.data.frame().

Copy Link

Version

Install

install.packages('spec')

Monthly Downloads

330

Version

0.1.9

License

GPL-3

Maintainer

Last Published

February 18th, 2024

Functions in spec (0.1.9)

guidetext.spec

Extract Text from Guide Column of Specification
%matches%.data.frame

Check Whether Data Frame matches Spec
.required

Make Required
respecify.character

Respecify Character
specify.data.frame

Specify Data Frame
%matches%.character

Check Whether Character matches y
write.spec

Write Specification to Storage
specify.character

Specify Character
specify

Specify Something
%matches%.spec

Check Whether Spec matches Dataset
guidetext

Extract Text from Guide
.type.timepoint

Make Timepoint Type
specification.default

Make a Specification by Default
respecify

Respecify Something
%matches%

Check Whether x and y Match
specification.data.frame

Make a Specification for a Data Frame
respecify.spec

Respecify Specification
labels.spec

Extract Labels from Specification
specification.comment

Make a Specification for a Comment
drug

Simulated Pharmacometric Data
encoded.spec

Checks whether a Specification is Encoded
specification

Make a Specification
.guide.integer

Make Integer Guide
.guide.factor

Make Factor Guide
.guide

Make Guide
.guide.default

Make Default Guide
codes.spec

Extract Codes from Specification
as.spec

Coerce to Spec
.required.default

Make Default Required
.type

Make Type
print.spec

Print Spec
decodes.spec

Extract Decodes from Specification
read.spec

Read Specification from File
as.spec.character

Coerce to Specification from Character
as.spec.data.frame

Coerce to Spec from Data Frame
as.vector.spec

Coerce to Vector from Spec.
.type.default

Make Default Type
.type.numeric

Make Numeric Type
.guide.numeric

Make Numeric Guide
.label

Make Label
.label.default

Make Default Label