home / cp40x

names

7 rows where case_id = 2509042

✎ 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
5513405 2509042 2509042 plaintiff Othlee Richard   614983 614983 Othlee, Richard, of Carleby 0
5513406 2509042 2509042 defendant Grene John son of Grene, William, of Kirketon   Grene, John, son of Grene, William, of Kirketon, executors of 0
5513407 2509042 2509042 defendant Grene John husbandman 739739 739739 (Grene, John, of Kirketon, husbandman 1
5513408 2509042 2509042 defendant Grene Elizabeth widow   Grene, Elizabeth, widow 2
5513409 2509042 2509042 defendant Stevenson Richard (legal representative) 739739 739739 Stevenson, Richard, of Kirketon, husbandman, executors of 3
5513410 2509042 2509042 defendant Stevenson Humphrey husbandman 895178 895178 (Stevenson, Humphrey, of Skeldyke, Kirketon, husbandman 4
5513411 2509042 2509042 defendant Warner William husbandman 895178 895178 Warner, William, of Skeldyke, Kirketon, 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.519ms