revenue_factorize | R Documentation |
Factorize Revenue/Expenditure Column Turns revenue/expenditure column of Tyler exract report dataframe into factor in order of revenue, then expense
revenue_factorize(df, colname = account.type)
df |
Tyler Extract report dataframe with a column categorizing accounts as "Revenue" or "Expense" |
colname |
Data-masked name of column categorizing accounts as "Revenue" or "Expense" |
{ df <- data.frame(account.type = c("Revenue", "Expense", "Revenue"), account_desc = c("Taxes", "Maintenance", "Parking fees")) revenue_factorize(df) df <- data.frame(revcol = c("Revenue", "Expense", "Revenue"), account_desc = c("Taxes", "Maintenance", "Parking fees")) revenue_factorize(df, revcol) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.