home / cp40x

names

7 rows where case_id = 2325498

✎ 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
4896269 2325498 2325498 plaintiff Harry Nicholas     Harry, Nicholas 0
4896270 2325498 2325498 defendant Grenefeld William husbandman 616911 616911 Grenefeld, William, of Knyghtbrigge, husbandman 0
4896271 2325498 2325498 defendant Walker Alan collier 592367 592367 Walker, Alan, of Kensyngton, collier 1
4896272 2325498 2325498 defendant Brewer John tailor 818691 818691 Brewer, John, of Tresuskermure, Cornw, tailor 2
4896273 2325498 2325498 defendant Treverry William yeoman 818692 818692 Treverry, William, of Lanhenyn, Cornw, yeoman 3
4896274 2325498 2325498 defendant Boswarbeth Alan gent 818693 818693 Boswarbeth, Alan, of St Petroc, Cornw, gent 4
4896275 2325498 2325498 defendant Harforth Thomas yeoman 818694 818694 Harforth, Thomas, of Egleshayle, Cornw, yeoman 5

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.248ms