home / cp40x

names

6 rows where case_id = 1978917

✎ 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
3866178 1978917 1978917 plaintiff Pegeon Thomas gent   Pegeon, Thomas, gent 0
3866179 1978917 1978917 defendant Baly Thomas turner 642167 642167 Baly, Thomas, of Wygmer, turner 0
3866180 1978917 1978917 defendant Harwyn William yeoman 624092 624092 Harwyn, William, of Susted, yeoman 1
3866181 1978917 1978917 defendant Everard John husbandman 624092 624092 Everard, John, of Susted, husbandman 2
3866182 1978917 1978917 defendant Browne Thomas butcher 586365 586365 Browne, Thomas, of Wymondham, butcher 3
3866183 1978917 1978917 defendant Metcalfe John yeoman 586784 586784 Metcalfe, John, of Burgh, 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.301ms