зеркало из https://github.com/Azure/AzureKusto.git
add .drop, .sep, .preserve to unnest s3 method
This commit is contained in:
Родитель
faef203f27
Коммит
417080aee1
3
R/tbl.R
3
R/tbl.R
|
@ -155,7 +155,8 @@ summarise.tbl_kusto_abstract <- function(.data, ..., .strategy = NULL, .shufflek
|
|||
#' @param .preserve Needed for agreement with generic. Not otherwise used.
|
||||
#' @export
|
||||
unnest.tbl_kusto_abstract <- function(data, cols, ..., keep_empty = FALSE, ptype = NULL,
|
||||
names_sep = NULL, names_repair = NULL, .id = NULL) {
|
||||
names_sep = NULL, names_repair = NULL, .drop = NULL,
|
||||
.id = NULL, .sep = NULL, .preserve = NULL) {
|
||||
# dots <- quos(...)
|
||||
dots <- enquo(cols)
|
||||
add_op_single("unnest", data, dots = dots, args = list(.id = .id))
|
||||
|
|
|
@ -12,7 +12,10 @@
|
|||
ptype = NULL,
|
||||
names_sep = NULL,
|
||||
names_repair = NULL,
|
||||
.id = NULL
|
||||
.drop = NULL,
|
||||
.id = NULL,
|
||||
.sep = NULL,
|
||||
.preserve = NULL
|
||||
)
|
||||
}
|
||||
\arguments{
|
||||
|
@ -35,10 +38,10 @@ to \code{df \%>\% mutate(y = fun(x, y, z)) \%>\% unnest(y)}.}
|
|||
|
||||
\item{names_repair}{Needed for agreement with generic. Not otherwise used.}
|
||||
|
||||
\item{.id}{Data frame identifier - if supplied, will create a new column with name .id, giving a unique identifier. This is most useful if the list column is named.}
|
||||
|
||||
\item{.drop}{Needed for agreement with generic. Not otherwise used.}
|
||||
|
||||
\item{.id}{Data frame identifier - if supplied, will create a new column with name .id, giving a unique identifier. This is most useful if the list column is named.}
|
||||
|
||||
\item{.sep}{Needed for agreement with generic. Not otherwise used.}
|
||||
|
||||
\item{.preserve}{Needed for agreement with generic. Not otherwise used.}
|
||||
|
|
Загрузка…
Ссылка в новой задаче