mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2025-09-12 09:59:39 +02:00
21 lines
553 B
R
21 lines
553 B
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/helpers.R
|
|
\name{remove_nested_list}
|
|
\alias{remove_nested_list}
|
|
\title{Very simple function to remove nested lists, like when uploading .rds}
|
|
\usage{
|
|
remove_nested_list(data)
|
|
}
|
|
\arguments{
|
|
\item{data}{data}
|
|
}
|
|
\value{
|
|
data.frame
|
|
}
|
|
\description{
|
|
Very simple function to remove nested lists, like when uploading .rds
|
|
}
|
|
\examples{
|
|
dplyr::tibble(a = 1:10, b = rep(list("a"), 10)) |> remove_nested_list()
|
|
dplyr::tibble(a = 1:10, b = rep(list(c("a", "b")), 10)) |> as.data.frame()
|
|
}
|