home / cp40x

names

10 rows where case_id = 2553581

✎ 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
5630609 2553581 2553581 plaintiff Sawer Richard (legal representative)   Sawer, Richard, executors of 0
5630610 2553581 2553581 plaintiff Sawer Maud widow   (Sawer, Maud, widow 1
5630611 2553581 2553581 plaintiff de Kirkeby Robert chaplain   de Kirkeby, Robert, chaplain 2
5630612 2553581 2553581 plaintiff de Stokedale John     de Stokedale, John 3
5630613 2553581 2553581 plaintiff Jay John     Jay, John 4
5630614 2553581 2553581 defendant Biskil William fleshewer or butcher 586836 586836 Biskil, William, of Newcastle on Tyne, fleshewer or butcher 0
5630615 2553581 2553581 defendant Breer Roger tailor 586836 586836 Breer, Roger, of Newcastle on Tyne, tailor 1
5630616 2553581 2553581 defendant Lillebourne William esq 907598 907598 Lillebourne, William, of Lillebourne, Northumb, esq 2
5630617 2553581 2553581 defendant Mitford William esq 618711 618711 Mitford, William, of Mitford, Northumb, esq 3
5630618 2553581 2553581 defendant de Kambowe John yeoman 586836 586836 de Kambowe, John, of Newcastle on Tyne, 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 12.274ms