home / cp40x

names

6 rows where case_id = 2515710

✎ 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
5535823 2515710 2515710 plaintiff Broun John draper   Broun, John, draper 0
5535824 2515710 2515710 defendant Tyler William husbandman 603722 603722 Tyler, William, of Wramplyngham, husbandman 0
5535825 2515710 2515710 defendant Gygges Thomas gent 595789 595789 Gygges, Thomas, of Reynham St Mary, gent 1
5535826 2515710 2515710 defendant Myller Nicholas husbandman 595788 595788 Myller, Nicholas, of Magna Ryburgh, husbandman 2
5535827 2515710 2515710 defendant Mannyng John yeoman 608300 608300 Mannyng, John, of Gerston, yeoman 3
5535828 2515710 2515710 defendant Stokys John husbandman 587786 587786 Stokys, John, of Rynglond, husbandman 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.141ms