unique_dates: Retrieve unique days of dataset

View source: R/utils.R

unique_datesR Documentation

Retrieve unique days of dataset

Description

Convenient way to retrieve all unique dates within data set. The default formating of the date retrieves unique "days" (y-m-d), but other formats are possible (e.g. month or years).

Usage

unique_dates(x, ts_format = "%Y-%m-%d")

Arguments

x

Data frame with column "Timestamp" or vector of timestamp data.

ts_format

String. Indicating the format of the specified date. Default is specifies days: "%Y-%m-%d"

Value

String of unique day-dates.

See Also

unique_ids


jmueller17/sociometrics documentation built on March 20, 2024, 1:04 a.m.