home / cp40x

names

7 rows where case_id = 2478234

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5410974 2478234 2478234 plaintiff Catlyn (illegible) mercer   Catlyn, _, mercer 0
5410975 2478234 2478234 plaintiff Asshe Reginald mercer 585869 585869 Asshe, Reginald, of London, mercer 1
5410976 2478234 2478234 defendant (illegible) of Dudley Worcs, yeoman   _, of Dudley, Worcs, yeoman 0
5410977 2478234 2478234 defendant Ashurst John   586125 586125 Ashurst, John, of Dudley 1
5410978 2478234 2478234 defendant Lynde John bailer 586125 586125 Lynde, John, of Dudley, bailer 2
5410979 2478234 2478234 defendant Murihurst William butcher 698346 698346 Murihurst, William, of Worcestershire, butcher 3
5410980 2478234 2478234 defendant Smyth William yeoman 586122 586122 Smyth, William, of Dudley, Worcs, 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.15ms