checkLEs | R Documentation |
This function checks if a linking error data.frame
is compatible with multiple trend eatGADS
data bases.
checkLEs(filePaths, leDF)
filePaths |
Character vectors with at least two paths to the |
leDF |
Linking error |
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.
Returns a report list.
# 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,])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.