home / cp40x

names

8 rows where case_id = 2450159

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5316973 2450159 2450159 plaintiff Elmham Robert (legal representative) 588126 588126 Elmham, Robert, of North Walsham, esq, bailiff, Duchy of Lancaster, executors of 0
5316974 2450159 2450159 plaintiff Brampton Robert     (Brampton, Robert 1
5316975 2450159 2450159 plaintiff Brampton John     Brampton, John 2
5316976 2450159 2450159 plaintiff Mason Thomas   632735 632735 Mason, Thomas, of Crowemer 3
5316977 2450159 2450159 plaintiff Aleyn John     Aleyn, John 4
5316978 2450159 2450159 defendant Wryght Robert husbandman 592559 592559 Wryght, Robert, of Testerton, husbandman 0
5316979 2450159 2450159 defendant Holand Richard yeoman 592559 592559 Holand, Richard, of Testerton, yeoman 1
5316980 2450159 2450159 defendant Casterton Thomas yeoman 872627 872627 Casterton, Thomas, of Ketelyston juxta Walsyngham, yeoman 2

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