sep_budget | R Documentation |
Separate budget columns Creates a number column and description column from standard Tyler Extract report column that's a combination of a number and description. E.g., Departments are contained in the "department" column and represented like 1000 Department Name; this creates a department_num column of 1000, and a 'department_desc" column of "Department Name."
sep_budget(df, colname)
df |
Minimally-processed Tyler Extract report dataframe |
colname |
String name of column with a numeric part and string part separated by a space |
Dataframe with original column, and column for number-part of original column and string part
{ c <- data.frame(sepcolumn = c("52 Cats", "35 Dogs", "42 Fish")) sep_budget(c, "sepcolumn") }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.