home / cp40x

names

6 rows where case_id = 2442879

✎ 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
5292755 2442879 2442879 plaintiff Say Robert mercer 585869 585869 Say, Robert, of London, mercer 0
5292756 2442879 2442879 defendant Meryhurst William chapman 586122 586122 Meryhurst, William, of Dudley, Worcs, chapman 0
5292757 2442879 2442879 defendant Blande Thomas chapman 587136 587136 Blande, Thomas, of Derby, chapman 1
5292758 2442879 2442879 defendant Rythe Richard mercer 585951 585951 Rythe, Richard, of Winchester, mercer 2
5292759 2442879 2442879 defendant Smert Thomas   614802 614802 Smert, Thomas, of Kynvare 3
5292760 2442879 2442879 defendant Ysotte Richard chapman 586079 586079 Ysotte, Richard, of Bedford, chapman 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 17.469ms