home / cp40x

names

9 rows where case_id = 2425778

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5234847 2425778 2425778 plaintiff Cryn John     Cryn, John 0
5234848 2425778 2425778 defendant Bandyn Michael fisher 604983 604983 Bandyn, Michael, of Paddestowe, fisher 0
5234849 2425778 2425778 defendant Bandyn John   862450 862450 Bandyn, John, of St Minfride, mason 1
5234850 2425778 2425778 defendant Bandyn William fisher 604983 604983 Bandyn, William, of Paddestowe, fisher 2
5234851 2425778 2425778 defendant Geffrey John carpenter 604983 604983 Geffrey, John, of Paddestowe, carpenter 3
5234852 2425778 2425778 defendant Julyn John carpenter 654211 654211 Julyn, John, of St Wenne, carpenter 4
5234853 2425778 2425778 defendant Tynner Richard tinner 862451 862451 Tynner, Richard, of St Dennis, tinner 5
5234854 2425778 2425778 defendant Bleydyn John tinner 862451 862451 Bleydyn, John, of St Dennis, tinner 6
5234855 2425778 2425778 defendant Guheyre Michael tinner 862451 862451 Guheyre, Michael, of St Dennis, tinner 7

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