home / cp40x

names

5 rows where case_id = 2490570

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5452333 2490570 2490570 plaintiff Suthwell John (legal representative) 889084 889084 Suthwell, John, of Elgh or Ellough, esq, executors of 0
5452334 2490570 2490570 plaintiff Sampson Thomas     (Sampson, Thomas 1
5452335 2490570 2490570 plaintiff Sampson Joan     Joan, his wife 2
5452336 2490570 2490570 defendant Cook John (legal representative) 590245 590245 Cook, John, of Benacre, butcher, executor of 0
5452337 2490570 2490570 defendant Proude Robert clerk 774157 774157 Proude, Robert, of Resshemer, clerk 1

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