home / cp40x

names

9 rows where case_id = 2343333

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4954596 2343333 2343333 plaintiff Stapilton Miles esq   Stapilton, Miles, esq 0
4954597 2343333 2343333 plaintiff Dallyng William     Dallyng, William 1
4954598 2343333 2343333 defendant Weston Alexander yeoman 598815 598815 Weston, Alexander, of Norton Subcors, yeoman 0
4954599 2343333 2343333 defendant Kyckys John carpenter 598815 598815 Kyckys, John, of Norton Subcors, carpenter 1
4954600 2343333 2343333 defendant Multon John yeoman 598815 598815 Multon, John, of Norton Subcors, yeoman 2
4954601 2343333 2343333 defendant Brunton Nicholas yeoman 594580 594580 Brunton, Nicholas, of Swafham Market, yeoman 3
4954602 2343333 2343333 defendant Deye John yeoman 586121 586121 Deye, John, of Carleton, yeoman 4
4954603 2343333 2343333 defendant Ryngere John yeoman 588335 588335 Ryngere, John, of Fornset, yeoman 5
4954604 2343333 2343333 defendant Broun John yeoman 588071 588071 Broun, John, of Multon, yeoman 6

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE names (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    case_id INTEGER NOT NULL REFERENCES cases(id) ON DELETE CASCADE,
    role TEXT NOT NULL CHECK (role IN ('plaintiff', 'defendant')),
    surname TEXT NOT NULL,
    forename TEXT,
    occupation TEXT,
    place_id INTEGER REFERENCES places(id),
    raw_segment TEXT NOT NULL,
    seq INTEGER NOT NULL DEFAULT 0
);
CREATE INDEX idx_names_case_id ON names(case_id);
CREATE INDEX idx_names_surname ON names(surname);
CREATE INDEX idx_names_place_id ON names(place_id);
CREATE INDEX idx_names_role_surname ON names(role, surname);
Powered by Datasette · Queries took 13.919ms