home / cp40x

names

6 rows where case_id = 2374070

✎ 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
5058427 2374070 2374070 plaintiff Daleson William     Daleson, William 0
5058428 2374070 2374070 defendant Holbek William merchant 841383 841383 Holbek, William, of Yuork, merchant 0
5058429 2374070 2374070 defendant Kele Robert baker 596792 596792 Kele, Robert, of Horncastell, baker 1
5058430 2374070 2374070 defendant Gegge Thomas husbandman 596792 596792 Gegge, Thomas, of Horncastell, husbandman 2
5058431 2374070 2374070 defendant Estrik John huysbandman 596792 596792 Estrik, John, of Horncastell, huysbandman 3
5058432 2374070 2374070 defendant Droury Thomas husbandman 777569 777569 Droury, Thomas, of Carleton Kyme, 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 20.724ms