home / cp40x

names

10 rows where case_id = 2225233

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4580001 2225233 2225233 plaintiff (not given)   abbot of Croyland   Croyland, abbot of 0
4580002 2225233 2225233 defendant Walgrave John   642493 642493 Walgrave, John, of Wenlyngburgh 0
4580003 2225233 2225233 defendant Burton John     Burton, John 1
4580004 2225233 2225233 defendant Gybon Nicholas     Gybon, Nicholas 2
4580005 2225233 2225233 defendant (not given) Nicholas his son   Nicholas, his son 3
4580006 2225233 2225233 defendant Gybon Robert son of Nicholas   Gybon, Robert, son of Nicholas 4
4580007 2225233 2225233 defendant Gybon John son of Nicholas   Gybon, John, son of Nicholas 5
4580008 2225233 2225233 defendant Hayne Thomas     Hayne, Thomas 6
4580009 2225233 2225233 defendant Bonyface Henry     Bonyface, Henry 7
4580010 2225233 2225233 defendant Makefay or Makesay John   642493 642493 Makefay or Makesay, John, of Wenlyngburgh 8

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