Learn R Programming

qdap (version 2.4.6)

cm_time.temp: Time Span Code Sheet

Description

Generates a time span coding sheet and coding format sheet.

Usage

cm_time.temp(
  codes,
  grouping.var = NULL,
  start = ":00",
  end = NULL,
  file = NULL,
  coding = FALSE,
  print = TRUE
)

Arguments

codes

List of codes.

grouping.var

The grouping variables. Also takes a single grouping variable or a list of 1 or more grouping variables.

start

A character string in the form of "00:00" indicating start time (default is ":00").

end

A character string in the form of "00:00" indicating end time.

file

A connection, or a character string naming the file to print to (.txt or .doc is recommended).

coding

logical. If TRUE a coding list is provided with the time span coding sheet. coding is ignored if end = NULL.

print

logical. If TRUE the time spans are printed to the console.

References

Miles, M. B. & Huberman, A. M. (1994). An expanded sourcebook: Qualitative data analysis. 2nd ed. Thousand Oaks, CA: SAGE Publications.

See Also

cm_range.temp,

Examples

Run this code
if (FALSE) {
## cm_time.temp(qcv(AA, BB, CC), ":30", "7:40", file = "foo.txt")
## delete("foo.txt")
cm_time.temp(qcv(AA, BB, CC), ":30", "7:40")

x <- list(
    transcript_time_span = qcv(terms="00:00 - 1:12:00"),
    A = qcv(terms="2.40:3.00, 5.01, 6.52:7.00, 9.00"),
    B = qcv(terms="2.40, 3.01:3.02, 5.01, 6.52:7.00, 9.00, 1.12.00:1.19.01"),
    C = qcv(terms="2.40:3.00, 5.01, 6.52:7.00, 9.00, 17.01")
)
cm_time2long(x)
cm_time.temp(qcv(AA, BB, CC))
}

Run the code above in your browser using DataLab