home / cp40x

names

5 rows where place_id = 610244

✎ 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
3682638 1920678 1920678 plaintiff Threlle Robert (legal representative) 610244 610244 Threlle, Robert, of London St Swithin, draper, executors of 0
3682643 1920679 1920679 plaintiff Mason William   610244 610244 (Mason, William, of London St Swithin 1
4068848 2049148 2049148 defendant Graye John merchant stranger 610244 610244 Graye, John, of London St Swithin, merchant stranger 0
4068853 2049149 2049149 defendant Grey John merchant stranger 610244 610244 Grey, John, of London St Swithin, merchant stranger 0
4128176 2070366 2070366 defendant Carles Robert draper 610244 610244 Carles, Robert, of London St Swithin, draper 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 13.995ms