home / cp40x

names

6 rows where case_id = 2389867

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5111895 2389867 2389867 plaintiff Honsom or Housom William   586067 586067 Honsom or Housom, William, of York 0
5111896 2389867 2389867 defendant Swan Simon chapman 586854 586854 Swan, Simon, of Bridlyngton, chapman 0
5111897 2389867 2389867 defendant Whelpyngton John clerk 586067 586067 Whelpyngton, John, of York, clerk 1
5111898 2389867 2389867 defendant Huton John vicar of Holym in Holdernes   Huton, John, vicar of Holym in Holdernes 2
5111899 2389867 2389867 defendant Honsom or Housom William gent 807567 807567 Honsom or Housom, William, of Emmeswell, gent 3
5111900 2389867 2389867 defendant Burdon William yeoman 590063 590063 Burdon, William, of Carleton juxta Snayth, yeoman 4

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