home / cp40x

names

5 rows where case_id = 2503666

✎ 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
5495888 2503666 2503666 plaintiff Hogon John draper 753666 753666 Hogon, John, of Storteford, draper 0
5495889 2503666 2503666 defendant Croke John carpenter 603446 603446 Croke, John, of Bardefeld, Essex, carpenter 0
5495890 2503666 2503666 defendant Baker John, senior turner 893349 893349 Baker, John, senior, of Magna Bardefeld, Essex, turner 1
5495891 2503666 2503666 defendant Baker John, junior tailor 622537 622537 Baker, John, junior, of Magna Bardefeld, tailor 2
5495892 2503666 2503666 defendant Jardevyle John tanner 893350 893350 Jardevyle, John, of Neuporte, Essex, tanner 3

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