home / cp40x

names

7 rows where case_id = 2509041

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5513398 2509041 2509041 plaintiff Othlee Richard   614983 614983 Othlee, Richard, of Carleby 0
5513399 2509041 2509041 defendant Grene John son of Grene, William   Grene, John, son of Grene, William, executors of 0
5513400 2509041 2509041 defendant Grene John husbandman 591278 591278 (Grene, John, of Kyrketon, husbandman 1
5513401 2509041 2509041 defendant Grene Eilizabeth     Grene, Eilizabeth 2
5513402 2509041 2509041 defendant Stevenson Richard (legal representative) 591278 591278 Stevenson, Richard, of Kyrketon, husbandman, executors of 3
5513403 2509041 2509041 defendant Stevenson Humphrey husbandman 895176 895176 (Stevenson, Humphrey, of Skeldyke, Kyrketon, husbandman 4
5513404 2509041 2509041 defendant Warner William husbandman 895176 895176 Warner, William, of Skeldyke, Kyrketon, husbandman 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 19.986ms