home / cp40x

names

6 rows where case_id = 2281868

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4754744 2281868 2281868 plaintiff Abbot John mercer 585869 585869 Abbot, John, of London, mercer 0
4754745 2281868 2281868 defendant Hauke Dominic brewer 797167 797167 Hauke, Dominic, of Bermondeseye, Surrey, brewer 0
4754746 2281868 2281868 defendant Bladon John chapman 625493 625493 Bladon, John, of Wyche, Worcs, chapman 1
4754747 2281868 2281868 defendant Selman John jun, of London, gent   Selman, John, jun, of London, gent 2
4754748 2281868 2281868 defendant Okeherst John draper 585869 585869 Okeherst, John, of London, draper 3
4754749 2281868 2281868 defendant Pyll John gent 604030 604030 Pyll, John, of Exeter, Devon, gent 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 14.081ms