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.
Arguments
- df
data frame, Comtrade API data frame, returned from function
ct_search
.
Examples
if (FALSE) {
# Pull API data
df <- ct_search("Germany", "Canada")
# Use polished column names
df <- ct_use_pretty_cols(df)
}