Learn R Programming

rdwd (version 1.3.1)

checkIndex: check indexes

Description

check indexes. Mainly for internal usage in createIndex. Not exported, so call it as rdwd:::checkIndex() if you want to run tests yourself. Further test suggestions are welcome!

Usage

checkIndex(
  findex = NULL,
  mindex = NULL,
  gindex = NULL,
  excludefp = TRUE,
  fast = FALSE,
  warn = TRUE
)

Arguments

findex

fileIndex. DEFAULT: NULL

mindex

metaIndex. DEFAULT: NULL

gindex

geoIndex. DEFAULT: NULL

excludefp

Exclude false positives from geoIndex coordinate check results? DEFAULT: TRUE

fast

Exclude the 3-minute location per ID check? DEFAULT: FALSE

warn

Warn about issues? DEFAULT: TRUE

Value

Charstring with issues (if any) to be printed with cat().

See Also

createIndex

Examples

Run this code
# NOT RUN {
data(fileIndex) ; data(metaIndex) ; data(geoIndex)
# ci <- checkIndex(findex=fileIndex, mindex=metaIndex, gindex=geoIndex)
# cat(ci)
# }

Run the code above in your browser using DataLab