make_ir_table: Processes a single parsed IR file

Description Usage Arguments Value Examples

View source: R/make_ir_table.R

Description

Creates a complete timeseries for a single parsed IR file and converts NAs counts to zeros.

Usage

1

Arguments

df

The dataframe of IR counts from a single device.

Value

A dataframe of IR count data with complete dates and any missing counts converted to zeros.

Examples

1
2
3
4
5
6
df <- tibble::tibble(
PlacementID = c(102, 102, 102, 102),
date = c("19-06-04", "19-06-07", "19-06-08", "19-06-10"),
time = c("14:00", "14:00", "13:01", "12:02"),
count = c(15, 13, 12, 50))
make_ir_table(df)

OutdoorRD/trailcountR documentation built on Sept. 23, 2020, 10:38 a.m.