home / cp40x

names

7 rows where case_id = 2244618

✎ 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
4645021 2244618 2244618 plaintiff Michell William grocer 585869 585869 Michell, William, of London, grocer 0
4645022 2244618 2244618 plaintiff Petite Thomas grocer 585869 585869 Petite, Thomas, of London, grocer 1
4645023 2244618 2244618 defendant Myriell William   777421 777421 Myriell, William, of Melreth, Cambs 0
4645024 2244618 2244618 defendant Asshebourne Nicholas spicer 586117 586117 Asshebourne, Nicholas, of Coventry, spicer 1
4645025 2244618 2244618 defendant Burgh John   591148 591148 Burgh, John, of Cotesmore 2
4645026 2244618 2244618 defendant Campe Robert   775495 775495 Campe, Robert, of Barlethorp 3
4645027 2244618 2244618 defendant Quadryng William   586286 586286 Quadryng, William, of Boston 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 15.064ms