home / cp40x

names

6 rows where case_id = 2279863

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4747799 2279863 2279863 plaintiff Leget John   766305 766305 Leget, John, of Wraweby 0
4747800 2279863 2279863 plaintiff Shereman John   770638 770638 Shereman, John, of Glaumfordbrigge 1
4747801 2279863 2279863 defendant Doufe John (legal representative) 795787 795787 Doufe, John, of Spytell, executors of 0
4747802 2279863 2279863 defendant Hardben John gent 624676 624676 (Hardben, John, of Bisshop Norton, gent 1
4747803 2279863 2279863 defendant Martyn John baker 586846 586846 Martyn, John, of Lincoln, baker 2
4747804 2279863 2279863 defendant Martyn Margaret     Margaret, his wife 3

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