Published
Edited
Oct 29, 2018
5 stars
Insert cell
Insert cell
R.takeLastWhile(x => x !== 'R' , 'Ramda')
Insert cell
Insert cell
Insert cell
Insert cell
{
const bigStates = R.pipe(
filterLargePopulations,
withoutLastState
)
return bigStates(populations)
/*
const filteredPopulations = populations
.filter(x => x.population > 50000)
return R.takeLastWhile(x => x.state !== "56", filteredPopulations)
*/
//const extractPopulation = R.map(R.prop('population'))
// R.pluck('population')
// R.map(x => x.population)
//return extractPopulation(populations)
}
Insert cell
Insert cell
filterLargePopulations = R.filter(isLargePopulation)
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
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