home / cp40x

names

9 rows where place_id = 798602

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, occupation, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4762794 2284344 2284344 defendant Corbet Guy gent 798602 798602 Corbet, Guy, of Aston, Suff, gent 1
4882945 2321586 2321586 defendant Gunnys or Emmys John smith 798602 798602 Gunnys or Emmys, John, of Aston, Suff, smith 0
4888441 2323184 2323184 defendant Gunnys or Emmys John smith 798602 798602 Gunnys or Emmys, John, of Aston, Suff, smith 0
5063623 2375653 2375653 defendant Corbet John gent or merchant 798602 798602 Corbet, John, of Aston, Suff, gent or merchant 0
5107535 2388633 2388633 defendant Derewyn John yeoman 798602 798602 Derewyn, John, of Aston, Suff, yeoman 1
5113297 2390282 2390282 defendant Corbet Robert   798602 798602 Corbet, Robert, of Aston, Suff, knight 0
5196404 2414700 2414700 defendant Corbet John gent 798602 798602 Corbet, John, of Aston, Suff, gent 4
5245916 2428966 2428966 defendant Corbet Robert   798602 798602 Corbet, Robert, of Aston, Suff, knight 0
5625019 2551757 2551757 defendant Corbet Robert   798602 798602 Corbet, Robert, of Aston, Suff, knight 0

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