home / cp40x

names

6 rows where case_id = 2264864

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4697995 2264864 2264864 plaintiff Cotyngham John   593113 593113 Cotyngham, John, of Grymesby 0
4697996 2264864 2264864 defendant Flaker Robert shipman 613558 613558 Flaker, Robert, of Hesill, shipman 0
4697997 2264864 2264864 defendant Aleyn William shipman 591864 591864 Aleyn, William, of Hedon, shipman 1
4697998 2264864 2264864 defendant Skotte John chapman 603528 603528 Skotte, John, of Kyngeston upon Hull, chapman 2
4697999 2264864 2264864 defendant Reynald John husbandman 603528 603528 Reynald, John, of Kyngeston upon Hull, husbandman 3
4698000 2264864 2264864 defendant Chartres John smith 589505 589505 Chartres, John, of Kyngeston, smith 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 8.883ms