get_pbi_dashboard_jamaica: Create files necessary for FFP Jamaica's Power BI dashboard

Description Usage Arguments Details

View source: R/dashboard_jamaica.R

Description

get_pbi_dashboard_jamaica() takes in the parsed databases coming from parse_session_database() or parse_multiple_session_databases() and produces the data frames necessary for use in FFP Jamaica's Power BI dashboards. The function exports a list of data frames that will go into the dashboards in R, and also exports them in Excel to a specified file path.

Usage

1

Arguments

pd

Parsed database list coming out of parse_session_database() or parse_multiple_session_databases() with sessions, attendance, and attendees data frames.

file

If not NULL, file name and path for writing, must end in ".xlsx". If NULL, no Excel file is generated.

...

Additional arguments passed to openxlsx::write.xlsx().

Details

The data frames filter data based on a specific set of attributes. Specifically:

Relevant columns are then selected for each of these activity groups, written to Excel, and exported as a list.


caldwellst/fightr documentation built on July 4, 2021, 8:50 a.m.