home / cp40x

names

8 rows where case_id = 2500492

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5485192 2500492 2500492 plaintiff Pekham Peter esq   Pekham, Peter, esq 0
5485193 2500492 2500492 plaintiff Fogge John esq   Fogge, John, esq 1
5485194 2500492 2500492 plaintiff Lee Richard esq   Lee, Richard, esq 2
5485195 2500492 2500492 plaintiff Metcalff Miles gent   Metcalff, Miles, gent 3
5485196 2500492 2500492 plaintiff Eburton Henry draper 585869 585869 Eburton, Henry, of London, draper 4
5485197 2500492 2500492 plaintiff Langriche John draper 585869 585869 Langriche, John, of London, draper 5
5485198 2500492 2500492 defendant Chellescombe Thomas gent 892243 892243 Chellescombe, Thomas, of Dundrysshe, Kent, gent 0
5485199 2500492 2500492 defendant Chymam or Chyniam John husbandman 777428 777428 Chymam or Chyniam, John, of Frenyngham, Kent, husbandman 1

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.363ms