Liking cljdoc? Tell your friends :D

tablecloth.api.reshape


pivot->longerclj

(pivot->longer ds)
(pivot->longer ds columns-selector)
(pivot->longer
  ds
  columns-selector
  {:keys [target-columns value-column-name splitter drop-missing? datatypes]
   :or {target-columns :$column value-column-name :$value drop-missing? true}
   :as options})

tidyr pivot_longer api

`tidyr` pivot_longer api
sourceraw docstring

pivot->widerclj

(pivot->wider ds columns-selector value-columns)
(pivot->wider
  ds
  columns-selector
  value-columns
  {:keys [fold-fn concat-columns-with concat-value-with drop-missing?]
   :or {concat-columns-with "_" concat-value-with "-" drop-missing? true}
   :as options})
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close