home / cp40x

names

6 rows where case_id = 1864211

✎ 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
3589000 1864211 1864211 plaintiff Brereton Thomas sheriff of Warks   Brereton, Thomas, sheriff of Warks 0
3589001 1864211 1864211 defendant Botreux John gent 586544 586544 Botreux, John, of Salford, Warks, gent 0
3589002 1864211 1864211 defendant Sherard James gent 586545 586545 Sherard, James, of Napton, Warks, gent 1
3589003 1864211 1864211 defendant Stowe Thomas chapman 586546 586546 Stowe, Thomas, of Stratford on Avon, Warks, chapman 2
3589004 1864211 1864211 defendant Astley Thomas gent 586547 586547 Astley, Thomas, of Wolvey, Warks, gent 3
3589005 1864211 1864211 defendant Shawe John yeoman 586548 586548 Shawe, John, of Alcetur, Warks, 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.015ms