home / cp40x

names

7 rows where case_id = 2389812

✎ 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
5111669 2389812 2389812 plaintiff Holand William esq   Holand, William, esq 0
5111670 2389812 2389812 defendant Clement William mariner 847691 847691 Clement, William, of Cargrune, Cornw, mariner 0
5111671 2389812 2389812 defendant Brandon William merchant 606714 606714 Brandon, William, of Cargrune, merchant 1
5111672 2389812 2389812 defendant Stappe John merchant 847692 847692 together with Stappe, John, of Landilpe, Cornw, merchant 2
5111673 2389812 2389812 defendant Stappe John clerk 685435 685435 Stappe, John, of Landilpe, clerk 3
5111674 2389812 2389812 defendant Lyght William mariner 605060 605060 Lyght, William, of Saltaysshe, Cornw, mariner 4
5111675 2389812 2389812 defendant Toker William mariner 603193 603193 Toker, William, of Saltaysshe, mariner 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.264ms