split_animaltag: Split column animal_tag

View source: R/split_animaltag.R

split_animaltagR Documentation

Split column animal_tag

Description

split_animaltag splits the column animal_tag in the columns 'animal_id' and 'animal_tag' and adds them to the table.

Usage

split_animaltag(data)

Arguments

data

A data.table with the column 'animal_tag'.

Value

The original data.table with additional columns 'animal_id' and 'tag_code'.

Examples

activity_data <- split_animaltag(activity_data)

maxkroeschel/activitytools documentation built on July 31, 2023, 1:34 p.m.