surveydata (version 0.2.2)

dplyr-surveydata: Methods to support dplyr verbs.

Description

Methods to support dplyr verbs.

Usage

# S3 method for surveydata
mutate(.data, ...)

# S3 method for surveydata as.tbl(.data, ...)

# S3 method for surveydata select(.data, ...)

# S3 method for surveydata filter(.data, ...)

# S3 method for surveydata arrange(.data, ...)

# S3 method for surveydata summarize(.data, ...)

# S3 method for surveydata slice(.data, ...)

Arguments

.data

surveydata object or tbl passed to dplyr verb

...

passed to dplyr verb

Details

The surveydata exposes functionality to support some of the dplyr verbs, e.g. dplyr::filter()

Examples

Run this code
# NOT RUN {
library(dplyr)
membersurvey %>% as.tbl() %>% filter(Q2 == 2009)
# }

Run the code above in your browser using DataCamp Workspace