home / cp40x

names

10 rows where case_id = 2235847

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4615478 2235847 2235847 plaintiff Fauconer Thomas mercer 585869 585869 Fauconer, Thomas, of London, mercer 0
4615479 2235847 2235847 defendant Shipman William chapman 774734 774734 Shipman, William, of Fanborgh, chapman 0
4615480 2235847 2235847 defendant Russell William     Russell, William 1
4615481 2235847 2235847 defendant Chevele Nicholas     Chevele, Nicholas 2
4615482 2235847 2235847 defendant Loner John   590448 590448 Loner, John, of Alton 3
4615483 2235847 2235847 defendant Tannere Hugh   774735 774735 Tannere, Hugh, of Mottisham 4
4615484 2235847 2235847 defendant Calbek Richard   586254 586254 Calbek, Richard, of Southampton 5
4615485 2235847 2235847 defendant Shapper Andrew     Shapper, Andrew 6
4615486 2235847 2235847 defendant Mundy Nicholas   605217 605217 Mundy, Nicholas, of Shipston Benger 7
4615487 2235847 2235847 defendant Nobyll Thomas     Nobyll, Thomas 8

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.776ms