home / cp40x

names

6 rows where case_id = 2300448

✎ 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
4813867 2300448 2300448 plaintiff Hopkyns Thomas     Hopkyns, Thomas 0
4813868 2300448 2300448 defendant Coston William barber 586318 586318 Coston, William, of Worcester, barber 0
4813869 2300448 2300448 defendant Jowkys Walter fisher 586318 586318 Jowkys, Walter, of Worcester, fisher 1
4813870 2300448 2300448 defendant Bughton John goldsmith 586318 586318 Bughton, John, of Worcester, goldsmith 2
4813871 2300448 2300448 defendant Trygge Richard husbandman 806316 806316 Trygge, Richard, of King's Hanley, husbandman 3
4813872 2300448 2300448 defendant Love John smith 597467 597467 Love, John, of Kemesey, smith 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 13.463ms