home / cp40x

names

8 rows where case_id = 1986702

✎ 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
3889444 1986702 1986702 plaintiff Gooderyk John esq, treasurer of bishop of Ely   Gooderyk, John, esq, treasurer of bishop of Ely 0
3889445 1986702 1986702 defendant Podyche James yeoman 614419 614419 Podyche, James, of Emnyth, Norf, yeoman 0
3889446 1986702 1986702 defendant Lawson John yeoman 601666 601666 Lawson, John, of Teryngton, Norf, yeoman 1
3889447 1986702 1986702 defendant Brakenbery Richard yeoman 588755 588755 Brakenbery, Richard, of Teryngton, yeoman 2
3889448 1986702 1986702 defendant Orgar Robert husbandman 595660 595660 Orgar, Robert, of Walpole, Norf, husbandman 3
3889449 1986702 1986702 defendant Kyng James husbandman 586057 586057 Kyng, James, of Walpole, husbandman 4
3889450 1986702 1986702 defendant Carre John husbandman 586057 586057 Carre, John, of Walpole, husbandman 5
3889451 1986702 1986702 defendant Archylle John husbandman 588755 588755 Archylle, John, of Teryngton, husbandman 6

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.955ms