hash_datetime: Hash date time

Description Usage Arguments Value

View source: R/binning.R

Description

Hash dates according to the given temporal resolution.

Usage

1
hash_datetime(dates, resolution = "week")

Arguments

dates

Date objects to be binned.

resolution

Temporal resolution to be used. Either one of the following string literals: "day", "week", "month", "year" or a date time format string e.g. "%Y-%m-%d".

Value

character vector with unique characters for each bin.


iobis/ziptrack documentation built on May 29, 2019, 4:46 a.m.