cu_join_interval_tbl: Join crawl prediction or simulation output with a table based...

View source: R/cu_join_interval_tbl.R

cu_join_interval_tblR Documentation

Join crawl prediction or simulation output with a table based on a time interval

Description

Takes a data set with a POSIX time column named 'datetime' and another data set with start and end columns representing time intervals and merges the two depending whether or not the 'datetime' column is within the interval of the second.

Usage

cu_join_interval_tbl(x, int_tbl)

Arguments

x

A data frame with a column labeled datetime

int_tbl

A data frame with 'start' and 'end' columns that form non-overlapping intervals as well as at least one other column with interval level data.

Author(s)

Devin S. Johnson


dsjohnson/crawlUtils documentation built on Sept. 13, 2024, 1:34 p.m.