home / cp40x

names

6 rows where case_id = 2551452

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5623990 2551452 2551452 plaintiff Kyngwode Stephen     Kyngwode, Stephen 0
5623991 2551452 2551452 defendant Eps Stephen cooper 791595 791595 Eps, Stephen, of Lambyrherst, cooper 0
5623992 2551452 2551452 defendant Wayte Robert tailor 791595 791595 Wayte, Robert, of Lambyrherst, tailor 1
5623993 2551452 2551452 defendant Eps John fletcher 791595 791595 Eps, John, of Lambyrherst, fletcher 2
5623994 2551452 2551452 defendant Kyngwode John bottler 791595 791595 Kyngwode, John, of Lambyrherst, bottler 3
5623995 2551452 2551452 defendant Martyn Clement laborer 791595 791595 Martyn, Clement, of Lambyrherst, laborer 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.639ms