home / cp40x

names

7 rows where case_id = 2203779

✎ 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
4510618 2203779 2203779 plaintiff Bartelot Simon mercer 585869 585869 Bartelot, Simon, of London, mercer 0
4510619 2203779 2203779 defendant Hoke Richard mercer 589192 589192 Hoke, Richard, of Dunstaple, Beds, mercer 0
4510620 2203779 2203779 defendant Marchall William   586079 586079 Marchall, William, of Bedford 1
4510621 2203779 2203779 defendant Saddok Henry chapman 758451 758451 Saddok, Henry, of Buckinghamshire, chapman 2
4510622 2203779 2203779 defendant Wrysell John chapman 612968 612968 Wrysell, John, of Yorkshire, chapman 3
4510623 2203779 2203779 defendant Crofton John   586067 586067 Crofton, John, of York 4
4510624 2203779 2203779 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 8.608ms