MCPcopy Create free account
hub / github.com/observablehq/framework / csv

Function csv

src/client/stdlib/sampleDatasets.js:26–29  ·  view source on GitHub ↗
(url, typed)

Source from the content-addressed store, hash-verified

24}
25
26async function csv(url, typed) {
27 const [contents, d3] = await Promise.all([text(url), import("npm:d3-dsv")]);
28 return d3.csvParse(contents, typed && d3.autoType);
29}

Callers 12

aaplFunction · 0.85
alphabetFunction · 0.85
carsFunction · 0.85
citywagesFunction · 0.85
diamondsFunction · 0.85
flareFunction · 0.85
industriesFunction · 0.85
olympiansFunction · 0.85
penguinsFunction · 0.85
pizzaFunction · 0.85
weatherFunction · 0.85
pmms.csv.jsFile · 0.85

Calls 1

textFunction · 0.70

Tested by

no test coverage detected