home / cp40x

names

7 rows where case_id = 2509040

✎ 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
5513391 2509040 2509040 plaintiff Othlee Richard   614983 614983 Othlee, Richard, of Carleby 0
5513392 2509040 2509040 defendant Grene John (legal representative) 591278 591278 Grene, John, of Kyrketon, son of Grene, William, of Kyrton, executors of 0
5513393 2509040 2509040 defendant Grene John husbandman 591278 591278 (Grene, John, of Kyrketon, husbandman 1
5513394 2509040 2509040 defendant Grene Elizabeth widow   Grene, Elizabeth, widow 2
5513395 2509040 2509040 defendant Stevenson Richard (legal representative) 591278 591278 Stevenson, Richard, of Kyrketon, husbandman, executors of 3
5513396 2509040 2509040 defendant Stevenson Humphrey husbandman 895176 895176 (Stevenson, Humphrey, of Skeldyke, Kyrketon, husbandman 4
5513397 2509040 2509040 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 15.329ms