home / cp40x

names

6 rows where case_id = 2369651

✎ 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
5043404 2369651 2369651 plaintiff Frankcheyne Richard     Frankcheyne, Richard 0
5043405 2369651 2369651 defendant Messelyn William husbandman 609483 609483 Messelyn, William, of Ufcolme, husbandman 0
5043406 2369651 2369651 defendant Messelyn John husbandman 609483 609483 Messelyn, John, of Ufcolme, husbandman 1
5043407 2369651 2369651 defendant Busshell John husbandman 695179 695179 Busshell, John, of Kentesbeare, husbandman 2
5043408 2369651 2369651 defendant Poleyn William weaver 695179 695179 Poleyn, William, of Kentesbeare, weaver 3
5043409 2369651 2369651 defendant Broke Ralph yeoman 695179 695179 Broke, Ralph, of Kentesbeare, yeoman 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 13.981ms