home / cp40x

names

6 rows where case_id = 2348570

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4972015 2348570 2348570 plaintiff Jay Richard     Jay, Richard 0
4972016 2348570 2348570 defendant Warde Nicholas clerk 587189 587189 Warde, Nicholas, of Arundell, Sussex, clerk 0
4972017 2348570 2348570 defendant Gyffard John esq 828201 828201 Gyffard, John, of Ichill, Hants, esq 1
4972018 2348570 2348570 defendant Scras Joan widow 829057 829057 Scras, Joan, of Burghersshe, Sussex, widow 2
4972019 2348570 2348570 defendant Brynkley Alice widow 597548 597548 Brynkley, Alice, of Rumsey, Hants, widow 3
4972020 2348570 2348570 defendant Berd Richard yeoman 588260 588260 Berd, Richard, of Coweden, Kent, 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.214ms