home / cp40x

names

7 rows where case_id = 2454816

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5332594 2454816 2454816 plaintiff Cole Henry     Cole, Henry 0
5332595 2454816 2454816 defendant Cote Richard carpenter 771778 771778 Cote, Richard, of Bukfastle, carpenter 0
5332596 2454816 2454816 defendant Pulsford John merchant 596537 596537 Pulsford, John, of Magna Totteneys, merchant 1
5332597 2454816 2454816 defendant Hore John husbandman 874407 874407 Hore, John, of Ingleborne Priour, husbandman 2
5332598 2454816 2454816 defendant Danyell David baker 596537 596537 Danyell, David, of Magna Totteneys, baker 3
5332599 2454816 2454816 defendant Brounyng Walter   874408 874408 Brounyng, Walter, of Aysshpryngton, husbandan 4
5332600 2454816 2454816 defendant Helyer Simon Magna Totteneys, husbandman   Helyer, Simon, Magna Totteneys, husbandman 5

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