home / cp40x

names

7 rows where case_id = 2431584

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5254690 2431584 2431584 plaintiff Castell Thomas   586836 586836 Castell, Thomas, of Newcastle on Tyne, merchant, administrators of 0
5254691 2431584 2431584 plaintiff Spence Thomas     (Spence, Thomas 1
5254692 2431584 2431584 plaintiff Spence Agnes Agnes, of Newcastle on Tyne   Agnes his wife, formerly Anysley, Agnes, of Newcastle on Tyne 2
5254693 2431584 2431584 defendant Nyn John vintner 586175 586175 Nyn, John, of Canterbury, vintner 0
5254694 2431584 2431584 defendant Wardlee Thomas merchant 586836 586836 Wardlee, Thomas, of Newcastle on Tyne, merchant 1
5254695 2431584 2431584 defendant Boweman Thomas merchant 586836 586836 Boweman, Thomas, of Newcastle on Tyne, merchant 2
5254696 2431584 2431584 defendant Daweson John, junior fisher 613967 613967 Daweson, John, junior, of Scarburgh, Yorks, fisher 3

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