Learn R Programming

ffbase2 (version 0.2)

rename_.grouped_ffdf: Data manipulation for ffdf.

Description

Data manipulation for ffdf.

Usage

"rename_"(.data, ..., .dots)
"filter_"(.data, ..., .dots)
"filter_"(.data, ..., .dots)
"summarise_"(.data, ..., .dots)
"summarise_"(.data, ...)
"mutate_"(.data, ..., .dots, inplace = FALSE)
"mutate_"(.data, ...)
"arrange_"(.data, ..., .dots)
"arrange_"(.data, ...)
"select_"(.data, ..., .dots)
"select_"(.data, ..., .dots)
"rename_"(.data, ..., .dots)
"rename_"(.data, ..., .dots)
"slice_"(.data, ..., .dots)
"slice_"(.data, ..., .dots)
do.ffdf(.data, ...)
do.tbl_ffdf(.data, ...)

Arguments

.data
a ffdf
...
variables interpreted in the context of .data
inplace
if FALSE (the default) the data frame will be copied prior to modification to avoid changes propagating via reference.
.env
The environment in which to evaluate arguments not included in the data. The default should suffice for ordinary usage.

Examples

Run this code
if (require("hflights")) {
hflights2 <- tbl_ffdf(hflights)
filter(hflights2, Month == 1, DayofMonth == 1, Dest == "DFW")
head(select(hflights2, Year:DayOfWeek))
summarise(hflights2, delay = mean(ArrDelay, na.rm = TRUE), n = length(ArrDelay))
head(mutate(hflights2, gained = ArrDelay - DepDelay))
head(arrange(hflights2, Dest, desc(ArrDelay)))
}

Run the code above in your browser using DataLab