renamecolumns: Rename and select columns

Description Usage Arguments Examples

View source: R/clean.R

Description

Rename and select usefull columns for the forest products trade flow database. Renaming is based on a data frame called column_names which is a matching table of column names for the different databases. Rename only columns names that are existing in both sourcedb and destdb.

Usage

1
renamecolumns(dtf, sourcedb = "comtrade", destdb = "efi")

Arguments

dtf

data frame

sourcedb

source database, where the data was loaded

destdb

destination database, where the data is going to

Examples

1

EuropeanForestInstitute/tradeflows documentation built on Oct. 7, 2019, 10:57 a.m.