home / cp40x

names

6 rows where case_id = 1864123

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3588742 1864123 1864123 plaintiff Bore John     Bore, John 0
3588743 1864123 1864123 defendant Godyng John yeoman 586446 586446 Godyng, John, of Hadlo, yeoman 0
3588744 1864123 1864123 defendant Hunt John husbandman 586447 586447 Hunt, John, of West Mallyng, husbandman 1
3588745 1864123 1864123 defendant Wykers Thomas   588674 588674 Wykers, Thomas, of Sevenoke, horse collar maker 2
3588746 1864123 1864123 defendant Bele John husbandman 586449 586449 Bele, John, of Lye juxta Tunbregge, husbandman 3
3588747 1864123 1864123 defendant Becher John husbandman 586450 586450 Becher, John, of Tunbregge, husbandman 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.478ms