Learn R Programming

wpa (version 1.9.0)

workpatterns_report: Generate a report on working patterns in HTML

Description

[Experimental]

This function takes a Hourly Collaboration query and generates a HTML report on working patterns archetypes. Archetypes are created using the binary-week method.

Usage

workpatterns_report(
  data,
  hrvar = "Organization",
  signals = c("email", "IM"),
  start_hour = "0900",
  end_hour = "1700",
  exp_hours = NULL,
  path = "workpatterns report",
  timestamp = TRUE
)

Value

An HTML report with the same file name as specified in the arguments is generated in the working directory. No outputs are directly returned by the function.

Arguments

data

A Hourly Collaboration Query dataset in the form of a data frame.

hrvar

String specifying HR attribute to cut by archetypes. Defaults to Organization.

signals

See workpatterns_classify().

start_hour

See workpatterns_classify().

end_hour

See workpatterns_classify().

exp_hours

See workpatterns_classify().

path

Pass the file path and the desired file name, excluding the file extension. For example, "scope report".

timestamp

Logical vector specifying whether to include a timestamp in the file name. Defaults to TRUE.

See Also

Other Reports: IV_report(), capacity_report(), coaching_report(), collaboration_report(), connectivity_report(), generate_report(), meeting_tm_report(), read_preamble(), subject_validate_report(), validation_report()

Other Working Patterns: flex_index(), identify_shifts_wp(), identify_shifts(), plot_flex_index(), workpatterns_area(), workpatterns_classify_bw(), workpatterns_classify_pav(), workpatterns_classify(), workpatterns_hclust(), workpatterns_rank()