home / cp40x

names

7 rows where case_id = 2341364

✎ 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
4948022 2341364 2341364 plaintiff Lymby Henry     Lymby, Henry 0
4948023 2341364 2341364 plaintiff Hardben John     Hardben, John 1
4948024 2341364 2341364 defendant Mason William   624750 624750 Mason, William, of Bysshop Norton, bailiff 0
4948025 2341364 2341364 defendant Wyom Richard   586981 586981 Wyom, Richard, of Louth, bailiff 1
4948026 2341364 2341364 defendant Burgh Simon   590658 590658 Burgh, Simon, of Parteney, bailiff 2
4948027 2341364 2341364 defendant Byllyngey Roger   586724 586724 Byllyngey, Roger, of Waltham, bailiff 3
4948028 2341364 2341364 defendant Sergeant John   592848 592848 Sergeant, John, of Hotoft, bailiff 4

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