cdr_get_id_from_fnames: Extract the collar ID from either key filenames or the actual...

Description Usage Arguments Details Value Examples

View source: R/get_ids.R

Description

Extract the collar ID from either key filenames or the actual key XML

Usage

1
2
3

Arguments

key_dir

A length 1 character string describing the path to the directory (on your machine) that houses key files

...

Other arguments to pass to cdr_key_paths

Details

Vectronics includes the collar ID in the key file name as well as within the XML of the .keyx file. These functions give the user the option of either extracting the information from the name of the file(s) cdr_get_id_from_fnames or reading the ID encoded in the key file cdr_get_id__from_key.

Value

character vector of collar IDs

Examples

1
2
3
4
5
6
cdr_get_id_from_fnames(
  system.file("extdata", package = "CollarDownloadeR")
)
cdr_get_id_from_key(
  system.file("extdata", package = "CollarDownloadeR")
)

Huh/CollarDownloadeR documentation built on May 27, 2019, 11:47 p.m.