| Version: | 0.0.1 | 
| Title: | A Faster Unique Function | 
| Description: | Similar to base's unique function, only optimized for working with data frames, especially those that contain date-time columns. | 
| Encoding: | UTF-8 | 
| Depends: | R (≥ 3.1.0) | 
| LazyData: | true | 
| ByteCompile: | true | 
| RoxygenNote: | 6.1.0 | 
| License: | MIT + file LICENSE | 
| URL: | https://github.com/mkearney/funique | 
| BugReports: | https://github.com/mkearney/funique/issues | 
| Suggests: | testthat | 
| NeedsCompilation: | no | 
| Packaged: | 2018-08-12 22:31:20 UTC; mwk | 
| Author: | Michael Wayne Kearney | 
| Maintainer: | Michael Wayne Kearney <kearneymw@missouri.edu> | 
| Repository: | CRAN | 
| Date/Publication: | 2018-08-26 17:54:24 UTC | 
A faster unique function
Description
Similar to unique, only optimized for working with
date-time columns.
Usage
funique(x)
Arguments
| x | Input data. If x is not a data frame or date-time object, then it is
simply passed to  | 
Value
The unique rows/values of x.
Examples
## create example data set
d <- data.frame(
  x = rnorm(1000),
  y = seq.POSIXt(as.POSIXct("2018-01-01"),
    as.POSIXct("2018-12-31"), length.out = 10)
)
## sample to create version with duplicates
dd <- d[c(1:1000, sample(1:1000, 500, replace = TRUE)), ]
## get only unique rows
head(funique(dd))
## check output
identical(unique(dd), funique(dd))