Skip to contents

Transform the column headers of return data from function ct_search into a more "polished" set of column headers. Intended for use with plots, publication tables, etc.

Usage

ct_use_pretty_cols(df)

Arguments

df

data frame, Comtrade API data frame, returned from function ct_search.

Value

data frame, input df with polish column headers.

Examples

if (FALSE) {
# Pull API data
df <- ct_search("Germany", "Canada")

# Use polished column names
df <- ct_use_pretty_cols(df)
}