home / cp40x

names

6 rows where case_id = 2488013

✎ 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
5443623 2488013 2488013 plaintiff (not given) Roger abbot of Cerne   Cerne, Roger, abbot of 0
5443624 2488013 2488013 defendant London or Loudon John gent 811205 811205 London or Loudon, John, of Bradford by Shirborn, gent 0
5443625 2488013 2488013 defendant Whitlok John   632055 632055 Whitlok, John, of Shirborn, inn holder 1
5443626 2488013 2488013 defendant Hogges John   888087 888087 Hogges, John, of Compton Dene by Shirborn, mason 2
5443627 2488013 2488013 defendant Milward John laborer 888088 888088 Milward, John, of Compton Dene, laborer 3
5443628 2488013 2488013 defendant Nutholl John barber 597026 597026 Nutholl, John, of Batcombe, barber 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 15.793ms