home / cp40x

names

6 rows where case_id = 2105478

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4228575 2105478 2105478 plaintiff Morlay John gent   Morlay, John, gent 0
4228576 2105478 2105478 defendant Cudworth William gent 681009 681009 Cudworth, William, of Darfeld, gent 0
4228577 2105478 2105478 defendant Smyth Francis yeoman 588253 588253 Smyth, Francis, of Clayton, yeoman 1
4228578 2105478 2105478 defendant Blackborne Edward husbandman 621214 621214 Blackborne, Edward, of Kirkburton, husbandman 2
4228579 2105478 2105478 defendant Woodcock Roger (legal representative)   Woodcock, Roger, executor of 3
4228580 2105478 2105478 defendant Greme James husbandman 719221 719221 Greme, James, of Foldbye, husbandman 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.892ms