home / cp40x

names

6 rows where case_id = 2338142

✎ 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
4937622 2338142 2338142 plaintiff Bury John     Bury, John 0
4937623 2338142 2338142 defendant Weylond Thomas husbandman 771570 771570 Weylond, Thomas, of Groundesburgh, husbandman 0
4937624 2338142 2338142 defendant Andrew William laborer 709901 709901 Andrew, William, of Butle, laborer 1
4937625 2338142 2338142 defendant Gosebak John yeoman 589509 589509 Gosebak, John, of Aldeburgh, yeoman 2
4937626 2338142 2338142 defendant Cole Seman fuller 624744 624744 Cole, Seman, of Blakenham, fuller 3
4937627 2338142 2338142 defendant Ducheman Henry husbandman 598356 598356 Ducheman, Henry, of Walberyswyk, 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 12.409ms