home / cp40x

names

7 rows where case_id = 2299979

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4812362 2299979 2299979 plaintiff Gyffard Stephen     Gyffard, Stephen, on his own account 0
4812363 2299979 2299979 defendant Ayleward John merchant 590066 590066 Ayleward, John, of Bryggewater, merchant 0
4812364 2299979 2299979 defendant Corset John husbandman 640873 640873 Corset, John, of Langport Westover, husbandman 1
4812365 2299979 2299979 defendant Kemer William husbandman 806009 806009 Kemer, William, of Yetmystre, Dors, husbandman 2
4812366 2299979 2299979 defendant Grete John butcher 592545 592545 Grete, John, of Basyngstoke, Hants, butcher 3
4812367 2299979 2299979 defendant Robert John butcher 627360 627360 Robert, John, of Havant, Hants, butcher 4
4812368 2299979 2299979 defendant Baker Theobald butcher 611967 611967 Baker, Theobald, of Hameldon, Hants, butcher 5

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