home / cp40x

names

8 rows where case_id = 2223596

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4574641 2223596 2223596 plaintiff Best John (legal representative) 586470 586470 Best, John, of Colchester, executrix of 0
4574642 2223596 2223596 plaintiff Best Emma formerly wife of John   Best, Emma, formerly wife of John 1
4574643 2223596 2223596 defendant Snell Adam     Snell, Adam 0
4574644 2223596 2223596 defendant Avenaunt Robert   589376 589376 Avenaunt, Robert, of Thaxstede 1
4574645 2223596 2223596 defendant Smyth John   590990 590990 Smyth, John, of Newenton 2
4574646 2223596 2223596 defendant Bole John smith   Bole, John, smith 3
4574647 2223596 2223596 defendant Feyte Thomas butcher   Feyte, Thomas, butcher 4
4574648 2223596 2223596 defendant Madour Joan formerly wife of John   Madour, Joan, formerly wife of John 5

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 11.027ms