read_partector: Import naneos Partector data

Description Usage Arguments Value Examples

View source: R/read_partector.R

Description

Import naneos Partector data

Usage

1
2
3
4
5
6
7
8
read_partector(
  path,
  tz = "America/New_York",
  metadata = FALSE,
  participant_id = NULL,
  sample_col = NULL,
  sample_id = NULL
)

Arguments

path

path of Partector output file.

tz

character; specifies which time zone to parse the datetime. Default = 'America/New_York.'

metadata

logical; include Partector output data in addition to LDSA, particle number, and mass? Default = FALSE.

participant_id

user defined string to denote a personal identifier. This is useful if the Partector is deployed during personal sampling. If specified, a new column is created ('ID'). Default is NULL.

sample_col

character; user defined character string specifying the name of the column to denote sample ID. Default is NULL.

sample_id

user defined string to denote sample ID. If assigned, a value must also be supplied to sample_col. Default is NULL.

Value

a tibble.

Examples

1
2
3
4
5
## Not run: 

read_partector(path, tz = "America/New_York", metadata = FALSE)

## End(Not run)

wolfeclw/partectoR documentation built on Feb. 10, 2022, 11:06 a.m.