home / cp40x

names

6 rows where case_id = 2448412

✎ 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
5311306 2448412 2448412 plaintiff Wroxham Richard     Wroxham, Richard 0
5311307 2448412 2448412 defendant Pater John yeoman 590201 590201 Pater, John, of Berkyng, Essex, yeoman 0
5311308 2448412 2448412 defendant Basset John gent 871967 871967 Basset, John, of Chyshull, Essex, gent 1
5311309 2448412 2448412 defendant Waterfall William mercer 604018 604018 Waterfall, William, of Colchester, Essex, mercer 2
5311310 2448412 2448412 defendant Scot John husbandman 637395 637395 Scot, John, of Bromfeld, Essex, husbandman 3
5311311 2448412 2448412 defendant Morensy John yeoman 871968 871968 Morensy, John, of Wykys, Essex, 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 14.875ms