Public
Edited
Sep 1, 2022
Importers
16 stars
Insert cell
md`# tidyjs

Easy way to import tidy functions in Observable.
`
Insert cell
T = require("@tidyjs/tidy@2.5.1/dist/umd/tidy.min.js")
Insert cell
tidy = T.tidy
Insert cell
addItems = T.addItems
Insert cell
addRows = T.addRows
Insert cell
arrange = T.arrange
Insert cell
sort = T.sort
Insert cell
complete = T.complete
Insert cell
count = T.count
Insert cell
debug = T.debug
Insert cell
distinct = T.distinct
Insert cell
expand = T.expand
Insert cell
fill = T.fill
Insert cell
filter = T.filter
Insert cell
fullJoin = T.fullJoin
Insert cell
groupBy = T.groupBy
Insert cell
innerJoin = T.innerJoin
Insert cell
leftJoin = T.leftJoin
Insert cell
map = T.map
Insert cell
desc = T.desc
Insert cell
asc = T.asc
Insert cell
mutate = T.mutate
Insert cell
mutateWithSummary = T.mutateWithSummary
Insert cell
rename = T.rename
Insert cell
replaceNully = T.replaceNully
Insert cell
select = T.select
Insert cell
pick = T.pick
Insert cell
slice = T.slice
Insert cell
sliceHead = T.sliceHead
Insert cell
sliceTail = T.sliceTail
Insert cell
sliceMin = T.sliceMin
Insert cell
sliceMax = T.sliceMax
Insert cell
sliceSample = T.sliceSample
Insert cell
summarize = T.summarize
Insert cell
summarizeAll = T.summarizeAll

Insert cell
summarizeAt = T.summarizeAt
Insert cell
summarizeIf = T.summarizeIf
Insert cell
tally = T.tally
Insert cell
total = T.total
Insert cell
totalAll = T.totalAll
Insert cell
totalAt = T.totalAt
Insert cell
totalIf = T.totalIf
Insert cell
transmute = T.transmute
Insert cell
when = T.when
Insert cell
deviation = T.deviation
Insert cell
first = T.first
Insert cell
last = T.last
Insert cell
max = T.max
Insert cell
mean = T.mean
Insert cell
meanRate = T.meanRate
Insert cell
median = T.median
Insert cell
min = T.min
Insert cell
n = T.n
Insert cell
nDistinct = T.nDistinct
Insert cell
sum = T.sum
Insert cell
variance = T.variance
Insert cell
rate = T.rate
Insert cell
cumsum = T.cumsum
Insert cell
roll = T.roll
Insert cell
pivotLonger = T.pivotLonger
Insert cell
pivotWider = T.pivotWider
Insert cell
fullSeq = T.fullSeq
Insert cell
fullSeqDate = T.fullSeqDate
Insert cell
fullSeqDateISOString = T.fullSeqDateISOString
Insert cell
contains = T.contains
Insert cell
endsWith = T.endsWith
Insert cell
everything = T.everything
Insert cell
matches = T.matches
Insert cell
negate = T.negate
Insert cell
numRange = T.numRange
Insert cell
startsWith = T.startsWith
Insert cell
TMath = T.TMath
Insert cell
vectorSeq = T.vectorSeq
Insert cell
vectorSeqDate = T.vectorSeqDate
Insert cell
lead = T.lead
Insert cell
lag = T.lag
Insert cell
rowNumber = T.rowNumber
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more