cm_time.temp: Time Span Code Sheet

Description Usage Arguments References See Also Examples

View source: R/cm_time.temp.R

Description

Generates a time span coding sheet and coding format sheet.

Usage

1
2
3
4
5
6
7
8
9
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## Not run: 
## 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))

## End(Not run)

trinker/qdap documentation built on Sept. 30, 2020, 6:28 p.m.