home / cp40x

names

6 rows where case_id = 2323817

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4890602 2323817 2323817 plaintiff Maltby William mercer 585869 585869 Maltby, William, of London, mercer 0
4890603 2323817 2323817 defendant Somercotes John gent 590201 590201 Somercotes, John, of Berkyng, Essex, gent 0
4890604 2323817 2323817 defendant Asshewell John draper 781414 781414 Asshewell, John, of Bekyngton, Wilts, draper 1
4890605 2323817 2323817 defendant Vyvyan Adam gent 817995 817995 Vyvyan, Adam, of Trewythya, Cornw, gent 2
4890606 2323817 2323817 defendant Gawent John fisher 835160 835160 Gawent, John, of Surcestre or Cirencester, Glos, fisher 3
4890607 2323817 2323817 defendant Cabull John butcher 586842 586842 Cabull, John, of Cirencester, butcher 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 16.511ms