home / cp40x

names

7 rows where case_id = 2428916

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5245729 2428916 2428916 plaintiff Reynold Richard     Reynold, Richard 0
5245730 2428916 2428916 defendant Enys Thomas, senior gent 863669 863669 Enys, Thomas, senior, of Enys juxta Retyn, St Enedir, gent 0
5245731 2428916 2428916 defendant Gurlyn William (legal representative)   Gurlyn, William, executor of 1
5245732 2428916 2428916 defendant Gurlyn William gent 699863 699863 Gurlyn, William, of Gurlyn, gent 2
5245733 2428916 2428916 defendant Betty Nicholas husbandman 863670 863670 Betty, Nicholas, of Trerys, St Alyn, husbandman 3
5245734 2428916 2428916 defendant Ive Nicholas gent   Ive, Nicholas, gent 4
5245735 2428916 2428916 defendant Penteney Richard gent 587287 587287 Penteney, Richard, of Launceston, gent 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 14.99ms