| checkLEs {eatRep} | R Documentation |
Checks compatibility of linking errors with GADS data bases.
Description
This function checks if a linking error data.frame is compatible with multiple trend eatGADS data bases.
Usage
checkLEs(filePaths, leDF)
Arguments
filePaths |
Character vectors with at least two paths to the |
leDF |
Linking error |
Details
This function inspects whether all linking error variables correspond to variables in the eatGADS data base
and if the key variables also correspond to existing variables in the trend eatGADS data bases.
Value
Returns a report list.
Examples
# define eatGADs data bases
trenddat1 <- system.file("extdata", "trend_gads_2010.db", package = "eatGADS")
trenddat2 <- system.file("extdata", "trend_gads_2015.db", package = "eatGADS")
trenddat3 <- system.file("extdata", "trend_gads_2020.db", package = "eatGADS")
# use template linking Error Object
load(system.file("extdata", "linking_error.rda", package = "eatRep"))
check1 <- checkLEs(c(trenddat1, trenddat2, trenddat3), lErr)
check2 <- checkLEs(c(trenddat1, trenddat2, trenddat3), lErr[1:14,])
[Package eatRep version 0.14.7 Index]