home / cp40x

names

5 rows where case_id = 1970637

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3840637 1970637 1970637 plaintiff Arundell John esq 619288 619288 Arundell, John, of Trerise, esq 0
3840638 1970637 1970637 defendant Gyst Henry tinner 606006 606006 Gyst, Henry, of St Enoder, tinner 0
3840639 1970637 1970637 defendant Penrose Richard gent 638120 638120 Penrose, Richard, of Penrose Metheley, gent 1
3840640 1970637 1970637 defendant Enys or Guys Christine widow 638121 638121 Enys or Guys, Christine, of Lamorayne, widow 2
3840641 1970637 1970637 defendant Courteney Joan widow 638122 638122 Courteney, Joan, of Lamorayn, widow 3

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