order_funds: Order funds

View source: R/funds.R

order_fundsR Documentation

Order funds

Description

Converts a column of fund name strings to factor in BBMR standardized order

Usage

order_funds(df, col = "Fund Name", before = NULL, after = NULL)

Arguments

df

Dataframe with fund column to modify.

col

String. Name of the column to with fund names to order, defaults to "Fund Name".

before

A string, name of a fund to tack on at the beginning of the factor (usually "Total").

after

A string, name of a fund to tack on at the end of the factor (usually "Total").

Value

A dataframe with col converted to factor.

Author(s)

Lillian Nguyen


baltimorebudget/bbmR documentation built on Aug. 28, 2023, 6:32 p.m.