home / cp40x

names

7 rows where case_id = 2300310

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4813416 2300310 2300310 plaintiff Heyward Ellis clerk   Heyward, Ellis, clerk 0
4813417 2300310 2300310 defendant Ploket John yeoman 586365 586365 Ploket, John, of Wymondham, yeoman 0
4813418 2300310 2300310 defendant Parker John yeoman 806209 806209 Parker, John, of Hatersete, yeoman 1
4813419 2300310 2300310 defendant Grym Thomas yeoman 655131 655131 Grym, Thomas, of Canston, yeoman 2
4813420 2300310 2300310 defendant Ede or Ode John baker 589042 589042 Ede or Ode, John, of Heydon, baker 3
4813421 2300310 2300310 defendant Frost William yeoman 602498 602498 Frost, William, of Althorp, yeoman 4
4813422 2300310 2300310 defendant Dalymond William yeoman 602498 602498 Dalymond, William, of Althorp, yeoman 5

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 13.374ms