home / cp40x

names

7 rows where case_id = 2396728

✎ 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
5134964 2396728 2396728 plaintiff Lyghtwode William     Lyghtwode, William 0
5134965 2396728 2396728 defendant Martyn John yeoman 851065 851065 Martyn, John, of Clmested, Bucks, yeoman 0
5134966 2396728 2396728 defendant Martyn Joan     Joan, his wife 1
5134967 2396728 2396728 defendant Janyn Agnes widow 604852 604852 Janyn, Agnes, of Croyden, Surr, widow 2
5134968 2396728 2396728 defendant Rule John tailor 603499 603499 Rule, John, of Suthwerk, Surr, tailor 3
5134969 2396728 2396728 defendant Sove or Sone John (legal representative)   Sove or Sone, John, executor of 4
5134970 2396728 2396728 defendant Sove or Sone Walter yeoman 792783 792783 Sove or Sone, Walter, of Sevenoaks, Kent, 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 17.884ms