Skip to contents

This function will return a named vector giving the names of the headers in the portfolio CSV that match the proper header names expected by pacta.portfolio.analysis. The name of each element will be the proper column name it matches to.

Usage

determine_headers(filepath)

Arguments

filepath

A character vector containing an absolute or relative path to a single portfolio CSV

Value

A named character vector containing the names of the headers in the portfolio CSV that match the proper header names expected by pacta.portfolio.analysis. The name of each element will be the proper column name it matches to.