home / cp40x

names

8 rows where case_id = 2259395

✎ 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
4680127 2259395 2259395 plaintiff Lech John barber 782994 782994 Lech, John, of Chestrefelde, barber 0
4680128 2259395 2259395 defendant Hancoke Richard husbandman 782995 782995 Hancoke, Richard, of Brankroste, husbandman 0
4680129 2259395 2259395 defendant Hancoke John husbandman 782996 782996 Hancoke, John, of Brankrefte, his brother, husbandman 1
4680130 2259395 2259395 defendant Fyssher John husbandman 782997 782997 Fyssher, John, of Edenstawe, husbandman 2
4680131 2259395 2259395 defendant Hemmyng Thomas husbandman 636390 636390 Hemmyng, Thomas, of Brampton, Derbs, husbandman 3
4680132 2259395 2259395 defendant North Roger husbandman 586779 586779 North, Roger, of Brampton, husbandman 4
4680133 2259395 2259395 defendant Sadeler Adam sadler 778261 778261 Sadeler, Adam, of Chestrefeld, Derbs, sadler 5
4680134 2259395 2259395 defendant Man John butcher 782998 782998 Man, John, of Worsworth or Wirksworth, Derbs, butcher 6

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