home / cp40x

names

6 rows where case_id = 2553234

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename

id ▼ case_id role surname forename occupation place_id raw_segment seq
5629553 2553234 2553234 defendant Smyth John forester 779634 779634 Smyth, John, of Spaunton, forester 0
5629554 2553234 2553234 defendant Bower John son of John Bower, of Richemond, bowyer   Bower, John, son of John Bower, of Richemond, bowyer 1
5629555 2553234 2553234 defendant (not given) John son of John Smyth atte Barre, smith   John son of John Smyth atte Barre, of Richemond, smith 2
5629556 2553234 2553234 defendant (not given) John son of John son of John Smyth, smith   John son of John son of John Smyth, of Elyngton, smith 3
5629557 2553234 2553234 defendant (not given) Thomas son of Henry Lister, yeoman   together with Thomas son of Henry Lister, of Spaunton, yeoman 4
5629558 2553234 2553234 defendant Darelman William yeoman 587623 587623 Darelman, William, of Egton, yeoman 5

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 15.976ms