photobiologyInOut (version 0.4.19)

read_yoctopuce_csv: Read '.CSV' file(s) dowloaded from YoctoPuce modules.

Description

Reads and parses the header of processed data CSV files as output by the virtual- or hardware-hubs and modules from Yoctupuce. Uses the comment attribute to store the metadata.

Usage

read_yoctopuce_csv(file, geocode = NULL, label = NULL, data_skip = 0,
  n_max = Inf, locale = readr::default_locale())

Arguments

file

Path to file as a character string.

geocode

A data frame with columns lon and lat used to set attribute "where.measured".

label

character string, but if NULL the value of file is used, and if NA the "what.measured" attribute is not set.

data_skip

integer Number of records (rows) to skip from the actual data block.

n_max

integer Maximum number of records to read.

locale

The locale controls defaults that vary from place to place. The default locale is US-centric (like R), but you can use locale to create your own locale that controls things like the default time zone, encoding, decimal mark, big mark, and day/month names.

Value

read_yoctopuce_csv() returns a tibble::tibble object.

References

https://www.r4photobiology.info https://www.yoctopuce.com/