home / cp40x

names

6 rows where case_id = 2506369

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5504633 2506369 2506369 plaintiff Baker William     Baker, William 0
5504634 2506369 2506369 defendant Kykler Brian yeoman 586036 586036 Kykler, Brian, of Exeter, yeoman 0
5504635 2506369 2506369 defendant Smyth John husbandman 894239 894239 Smyth, John, of Donshydok, husbandman 1
5504636 2506369 2506369 defendant Gyfford Thomas gent 608060 608060 Gyfford, Thomas, of Halsbury, gent 2
5504637 2506369 2506369 defendant Johnson Robert tucker 894240 894240 Johnson, Robert, of Wildelond, tucker 3
5504638 2506369 2506369 defendant Taylor Denise widow 587117 587117 Taylor, Denise, of Topsham, widow 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 12.925ms