home / cp40x

names

6 rows where case_id = 2424462

✎ 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
5230231 2424462 2424462 plaintiff Baker John mercer 585869 585869 Baker, John, of London, mercer 0
5230232 2424462 2424462 defendant Bolyngton Roger husbandman 861945 861945 Bolyngton, Roger, of Hadleigh, Suffolk, husbandman 0
5230233 2424462 2424462 defendant Weston Richard chapman 627089 627089 Weston, Richard, of Teukesbury, Glos, chapman 1
5230234 2424462 2424462 defendant Besteney Thomas chapman 598598 598598 Besteney, Thomas, of Hychen, Herts, chapman 2
5230235 2424462 2424462 defendant Trenette John chapman 620270 620270 Trenette, John, of Honyton, Devon, chapman 3
5230236 2424462 2424462 defendant Mayll John draper 586359 586359 Mayll, John, of Warwyk, draper 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.061ms