home / cp40x

names

6 rows where case_id = 2354137

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4990730 2354137 2354137 plaintiff Cheyne John esq 605698 605698 Cheyne, John, of Pynne, esq 0
4990731 2354137 2354137 defendant Caselegh Simon   831567 831567 Caselegh, Simon, of Jaggeford, bailiff 0
4990732 2354137 2354137 defendant Bailly Baldewin   586397 586397 Bailly, Baldewin, of Morton, bailiff 1
4990733 2354137 2354137 defendant Hendy Walter   831568 831568 Hendy, Walter, of Fremyngton, by Toryton, bailiff 2
4990734 2354137 2354137 defendant Avery Walter   827971 827971 Avery, Walter, of Hertelond, bailiff 3
4990735 2354137 2354137 defendant Hoy John   597014 597014 Hoy, John, of Bokerell, bailiff 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 13.565ms