home / cp40x

names

10 rows where case_id = 2238909

✎ 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
4625393 2238909 2238909 plaintiff Pattesle Thomas clerk   Pattesle, Thomas, clerk 0
4625394 2238909 2238909 plaintiff Bernard Castle Thomas clerk   Bernard Castle, Thomas, clerk 1
4625395 2238909 2238909 plaintiff Burgoyne John     Burgoyne, John 2
4625396 2238909 2238909 defendant Carlton William clerk   Carlton, William, clerk 0
4625397 2238909 2238909 defendant Howel Robert   592732 592732 Howel, Robert, of Balsham 1
4625398 2238909 2238909 defendant Hyckyson William   775669 775669 Hyckyson, William, of Harliston 2
4625399 2238909 2238909 defendant Wryght John   593785 593785 Wryght, John, of Harlyston 3
4625400 2238909 2238909 defendant Hadstoke John   586422 586422 Hadstoke, John, of Lynton 4
4625401 2238909 2238909 defendant Wilkcoksson Thomas     Wilkcoksson, Thomas 5
4625402 2238909 2238909 defendant Cokere Thomas   775670 775670 Cokere, Thomas, of Elm 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.24ms