data/pesa.R

delayedAssign(
  "pesa",
  local({
    if (requireNamespace("data.table", quietly = TRUE)) {
      dt = data.table::copy(nomads:::pesa_df)
      data.table::setDT(dt)
      data.table::setkeyv(dt, c("id", "time"))
      dt
    } else {
      nomads:::pesa_df
    }
  })
)

Try the nomads package in your browser

Any scripts or data that you put into this service are public.

nomads documentation built on May 30, 2026, 9:13 a.m.