home / cp40x

names

6 rows where case_id = 2273662

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4726833 2273662 2273662 plaintiff Hardyng Thomas draper 585869 585869 Hardyng, Thomas, of London, draper 0
4726834 2273662 2273662 defendant Osteler Robert husbandman 587249 587249 Osteler, Robert, of Chelmesford, husbandman 0
4726835 2273662 2273662 defendant Mylis Richard baker 593796 593796 Mylis, Richard, of Salisbury, Wilts, baker 1
4726836 2273662 2273662 defendant Kypax Richard chaplain 604018 604018 Kypax, Richard, of Colchester, Essex, chaplain 2
4726837 2273662 2273662 defendant Whelere John yeoman 587062 587062 Whelere, John, of Totenham, Middx, yeoman 3
4726838 2273662 2273662 defendant Houchon Thomas gent 791940 791940 Houchon, Thomas, of Ukevile or Uckfield, Sussex, gent 4

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