home / cp40x

names

8 rows where case_id = 2494895

✎ 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
5466418 2494895 2494895 plaintiff Asegh John     Asegh, John 0
5466419 2494895 2494895 plaintiff Nethersole John     Nethersole, John 1
5466420 2494895 2494895 plaintiff Porte John     Porte, John 2
5466421 2494895 2494895 defendant Edward John husbandman 677823 677823 Edward, John, of Whitstable, husbandman 0
5466422 2494895 2494895 defendant Balser John yeoman 586175 586175 Balser, John, of Canterbury, yeoman 1
5466423 2494895 2494895 defendant Gylmyn (illegible) shipman 677823 677823 Gylmyn, _, of Whitstable, shipman 2
5466424 2494895 2494895 defendant Thornyng Thomas smith 768076 768076 Thornyng, Thomas, of Seasalter, smith 3
5466425 2494895 2494895 defendant Balsar Malcolm laborer 677823 677823 Balsar, Malcolm, of Whitstable, laborer 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 15.266ms