Rdocumentation
powered by
Learn R Programming
FAOSTAT (version 1.6)
mergeSYB: Function for merging data from different source.
Description
This function searches for supported country system and translate the data to allow for join.
Usage
mergeSYB(x, y, outCode = "FAOST_CODE", all = TRUE, ...)
Arguments
x
data frames, or objects to be coerced to one.
y
data frames, or objects to be coerced to one.
outCode
The country code system to be used to join the different sources.
all
Same as the merge function, defaulted to an outer join.
...
Arguments to be passed on to the merge function.
Details
The names of the data to be merged has to be the same as the FAOcountryProfile code name.