Explanation
**What does this code do?**
- Converts `BAHT` to `USD` by multiplying the values by 34.5.
- Converts `million USD` to `billion USD` by dividing the values by 1,000.
**Parameters:**
- `change_unit_from`: The original unit name to be changed in the `"Unit"` column.
If your dataset does not yet include a `"Unit"` column, please refer to [adding unit and description columns](#sec:add-info).
- `change_unit_to`: The new unit name to be recorded in the `"Unit"` column.
- `adjustment`: The mathematical operation used to transform the values.
Accepts operators such as `/`, `*`, `+`, or `-`.
# Renaming Columns and Data List Names {#sec:rename-column}
To modify column names across all datasets and/or rename data list names automatically—such as changing `REG` to `Region` or `COMM` to `Commodity`—use the following command:
```{r Rename Column, eval = FALSE}
# Creating Mapping File
rename_col <- data.frame(
old = c("REG", "COMM", "ACTS"),
new = c("Region", "Commodity", "Activity")
)
har.plot.data <- HARplus::rename_dims(har.plot.data,
mapping_df = rename_col,
rename_list_names = FALSE)
```