home / cp40x

names

6 rows where case_id = 2372092

✎ 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
5051574 2372092 2372092 plaintiff Wilcok John     Wilcok, John, on his own account 0
5051575 2372092 2372092 defendant Nicoll William husbandman 840474 840474 Nicoll, William, of Cregilston, husbandman 0
5051576 2372092 2372092 defendant Forster Richard yeoman 586067 586067 Forster, Richard, of York, yeoman 1
5051577 2372092 2372092 defendant Swane Simon merchant 586067 586067 Swane, Simon, of York, merchant 2
5051578 2372092 2372092 defendant Laverok John yeoman 840475 840475 Laverok, John, of Poutesfacte, yeoman 3
5051579 2372092 2372092 defendant Grys John gent 600449 600449 Grys, John, of Boston, Lincs, gent 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 17.948ms