home / cp40x

names

7 rows where case_id = 2494827

✎ 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
5466188 2494827 2494827 plaintiff Adam John (legal representative) 591728 591728 Adam, John, of Sandwich, customer or customs officer & of London, draper, executor of 0
5466189 2494827 2494827 plaintiff Hathewey John     Hathewey, John 1
5466190 2494827 2494827 defendant Lalford Thomas   604018 604018 Lalford, Thomas, of Colchester, Essex, tallow chandler 0
5466191 2494827 2494827 defendant Kyrton John   777864 777864 Kyrton, John, of Milton by Gravesend, inn holder 1
5466192 2494827 2494827 defendant Cotun John merchant & gauger for the port of Sandwich 591728 591728 Cotun, John, of Sandwich, merchant & gauger for the port of Sandwich 2
5466193 2494827 2494827 defendant Dexster John husbandman 604018 604018 Dexster, John, of Colchester, Essex, husbandman 3
5466194 2494827 2494827 defendant Dyster Thomas vintner 586470 586470 Dyster, Thomas, of Colchester, vintner 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 11.063ms