#' @export
include <- function(.data, ...) {
UseMethod("include")
}
#' @export
include.data.frame <- function(.data, ...) {
include(as_flow(.data), ...)
}
#' @importFrom rlang %||%
#' @export
include.flow_df <- function(.data, ..., .step = NULL) {
included <- dplyr::filter(as_tibble(.data), ...)
included <- reconstruct(included, .data)
update_flow(included, .data, .step %||% step_auto_name(...))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.