home / cp40x

names

12 rows where case_id = 2201142

✎ 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
4501731 2201142 2201142 plaintiff Lytelbury John knight   Lytelbury, John, knight, on his own account 0
4501732 2201142 2201142 defendant Welby Thomas   755824 755824 Welby, Thomas, of Fosdyk 0
4501733 2201142 2201142 defendant Erle Robert   586459 586459 Erle, Robert, of Stoke 1
4501734 2201142 2201142 defendant Hervy Robert   763928 763928 Hervy, Robert, of barber 2
4501735 2201142 2201142 defendant Thorneton Edmund de     Thorneton, Edmund de 3
4501736 2201142 2201142 defendant Trop William     Trop, William 4
4501737 2201142 2201142 defendant Lyon John   614220 614220 Lyon, John, of Ancastre 5
4501738 2201142 2201142 defendant Bosy John     Bosy, John 6
4501739 2201142 2201142 defendant Stevenson John   608333 608333 Stevenson, John, of Stourton 7
4501740 2201142 2201142 defendant Smyth J--   611074 611074 Smyth, J--, of Nevenby 8
4501741 2201142 2201142 defendant Byddes John   622943 622943 Byddes, John, of Hayton 9
4501742 2201142 2201142 defendant Hueh-- John   763929 763929 Hueh--, John, of Syxhyll 10

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