home / cp40x

names

6 rows where case_id = 2453302

✎ 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
5327523 2453302 2453302 plaintiff Ughtred Robert knight   Ughtred, Robert, knight 0
5327524 2453302 2453302 defendant Fuyster Thomas yeoman 771660 771660 Fuyster, Thomas, of Cukwald, yeoman 0
5327525 2453302 2453302 defendant Fuyster William husbandman 593127 593127 Fuyster, William, of Kylburn, husbandman 1
5327526 2453302 2453302 defendant Bayldon Guy laborer 873839 873839 Bayldon, Guy, of Uschwayte, laborer 2
5327527 2453302 2453302 defendant Langley Robert husbandman 771660 771660 Langley, Robert, of Cukwald, husbandman 3
5327528 2453302 2453302 defendant Baylton Richard yeoman 802443 802443 Baylton, Richard, of Acome, 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 16.027ms