home / cp40x

names

6 rows where case_id = 2530507

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5585415 2530507 2530507 plaintiff Husse William     Husse, William 0
5585416 2530507 2530507 defendant Pays Thomas (legal representative) 585869 585869 Pays, Thomas, of London, skinner, administrator of 0
5585417 2530507 2530507 defendant Wyndover John skinner 585869 585869 Wyndover, John, of London, skinner 1
5585418 2530507 2530507 defendant Parys Richard leather seller 585869 585869 Parys, Richard, of London, leather seller 2
5585419 2530507 2530507 defendant Syrall Henry chapman 846775 846775 Syrall, Henry, of Lenster, Herefs, chapman 3
5585420 2530507 2530507 defendant Carleton Henry laborer 617546 617546 Carleton, Henry, of Baxterley, laborer 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.009ms