home / cp40x

names

7 rows where case_id = 2476651

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5405484 2476651 2476651 plaintiff Saunders William merchant 585990 585990 Saunders, William, of Banbury, Oxon, merchant 0
5405485 2476651 2476651 plaintiff Saunders Richard   588978 588978 Saunders, Richard, of Banbury, son of William, 1
5405486 2476651 2476651 defendant Aswell William mercer 588978 588978 Aswell, William, of Banbury, mercer 0
5405487 2476651 2476651 defendant West William   588978 588978 West, William, of Banbury 1
5405488 2476651 2476651 defendant Alen John butcher 591343 591343 Alen, John, of Chepyng Norton, Oxon, butcher 2
5405489 2476651 2476651 defendant Barbour John yeoman 586152 586152 Barbour, John, of Warwick, yeoman 3
5405490 2476651 2476651 defendant Slye Richard   588978 588978 Slye, Richard, of Banbury, bow maker 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 7.743ms