home / cp40x

names

7 rows where case_id = 2203780

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4510625 2203780 2203780 plaintiff Bartelot Simon mercer 585869 585869 Bartelot, Simon, of London, mercer 0
4510626 2203780 2203780 defendant Hoke Richard mercer 589192 589192 Hoke, Richard, of Dunstaple, Beds, mercer 0
4510627 2203780 2203780 defendant Marchall William   586079 586079 Marchall, William, of Bedford 1
4510628 2203780 2203780 defendant Saddok Henry chapman 758451 758451 Saddok, Henry, of Buckinghamshire, chapman 2
4510629 2203780 2203780 defendant Wrysell John chapman 612968 612968 Wrysell, John, of Yorkshire, chapman 3
4510630 2203780 2203780 defendant Croston John   586067 586067 Croston, John, of York 4
4510631 2203780 2203780 defendant Lymbergh Richard   757195 757195 Lymbergh, Richard, of Northamptonshire 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.317ms