home / cp40x

names

6 rows where case_id = 2437444

✎ 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
5273881 2437444 2437444 plaintiff Nyche Thomas grocer 585869 585869 Nyche, Thomas, of London, grocer 0
5273882 2437444 2437444 defendant Seton Richard chapman 598258 598258 Seton, Richard, of Bury St Edmunds, Suff, chapman 0
5273883 2437444 2437444 defendant Chamberlayn John   604805 604805 Chamberlayn, John, of Raynham, Essex,c hapman 1
5273884 2437444 2437444 defendant Waren Richard smith 586180 586180 Waren, Richard, of Bury St Edmunds, smith 2
5273885 2437444 2437444 defendant Baker Edmund weaver 586180 586180 Baker, Edmund, of Bury St Edmunds, weaver 3
5273886 2437444 2437444 defendant Jermayn John husbandman 594979 594979 Jermayn, John, of Gravesend, Kent, husbandman 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.709ms