home / cp40x

names

6 rows where case_id = 2375021

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5061468 2375021 2375021 plaintiff Gresaker Percival esq 600494 600494 Gresaker, Percival, of Barnburgh, esq 0
5061469 2375021 2375021 defendant Barlewyk Richard yeoman 841769 841769 Barlewyk, Richard, of Liteltyls, yeoman 0
5061470 2375021 2375021 defendant Taillour Robert tailor 841770 841770 Taillour, Robert, of Allerton juxta le Water, tailor 1
5061471 2375021 2375021 defendant Freman John yeoman 841770 841770 Freman, John, of Allerton juxta le Water, yeoman 2
5061472 2375021 2375021 defendant Knyght Robert husbandman 762311 762311 Knyght, Robert, of Arkesay, husbandman 3
5061473 2375021 2375021 defendant Leper Robert lepemaker or basket maker 643891 643891 Leper, Robert, of Barnby on Don, lepemaker or basket maker 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.311ms