home / cp40x

names

7 rows where case_id = 1973419

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3849423 1973419 1973419 plaintiff Leys Robert (legal representative)   Leys, Robert, executors of 0
3849424 1973419 1973419 plaintiff Byrkys Richard clerk   (Byrkys, Richard, clerk 1
3849425 1973419 1973419 plaintiff Leys Agnes widow   Leys, Agnes widow 2
3849426 1973419 1973419 defendant Carlios or Carlies John yeoman 602351 602351 Carlios or Carlies, John, of Stretton, yeoman 0
3849427 1973419 1973419 defendant Alen Roger yeoman 605293 605293 Alen, Roger, of Penkeryche, yeoman 1
3849428 1973419 1973419 defendant Alen John husbandman 605293 605293 Alen, John, of Penkeryche, husbandman 2
3849429 1973419 1973419 defendant Bromley Thomas husbandman 639522 639522 Bromley, Thomas, of Borroford, husbandman 3

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