Skip to contents

With this function, you can create an empty ROCK codebook, populated with the code identifiers you pass as codes. You can also pass data frames, in the format of the spreadsheet ROCK codebook standard, to produce a ROCK codebook object.

Usage

make_ROCK_codebook(
  metadata = NULL,
  codes = NULL,
  examples = NULL,
  aesthetics = NULL,
  relationships = NULL
)

Arguments

metadata

The metadata, such as title, authors, and positionaly statements, as a named list, where the names have to be the names as defined in the ROCK standard.

codes

The codes; either a character vector with code identifiers or a data frame

examples, aesthetics, relationships

Data frames with examples, aesthetics, and relationships, as defined in the ROCK standard.