Skip to contents

Merges fund-index pairs into the session fund-index map (session$state$fund_index_map). Existing entries with the same names are replaced.

Usage

add_fund_index_map(fund_index_map, session = NULL)

Arguments

fund_index_map

Named character vector of fund-index pairs to merge into session$state$fund_index_map. Names are fund identifiers; values are index identifiers.

session

Optional fundsr_session object. Defaults to the package default session when NULL.

Value

Invisibly returns NULL. Called for side effects.

See also

Other fund-index map functions: clear_fund_index_map(), get_fund_index_map()