set_colnames: Set consistent column names

View source: R/set_colnames.R

set_colnamesR Documentation

Set consistent column names

Description

Set consistent column names

Usage

set_colnames(
  DT,
  x_long,
  y_lat,
  id,
  date = NULL,
  time = NULL,
  datetime = NULL,
  extracols = NULL
)

Arguments

extracols

character vector; list of column names to include (eg. for group_pts splitBy)

Value

Input DT with only selected columns id, datetime, coords and any column provided in extracols

Author(s)

Alec L. Robitaille


robitalec/prepare-locs documentation built on Jan. 30, 2024, 9:45 a.m.