home / cp40x

names

9 rows where case_id = 2432719

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5258319 2432719 2432719 plaintiff Gresley John knight   Gresley, John, knight 0
5258320 2432719 2432719 defendant Shene John, senior yeoman 594946 594946 Shene, John, senior, of Abbots Bromley, yeoman 0
5258321 2432719 2432719 defendant Shene John, junior yeoman 594946 594946 Shene, John, junior, of Abbots Bromley, yeoman 1
5258322 2432719 2432719 defendant Shene William yeoman 594946 594946 Shene, William, of Abbots Bromley, yeoman 2
5258323 2432719 2432719 defendant Marries George tailor 594946 594946 Marries, George, of Abbots Bromley, tailor 3
5258324 2432719 2432719 defendant Couper Richard carver 594946 594946 Couper, Richard, of Abbots Bromley, carver 4
5258325 2432719 2432719 defendant Couper Roger carver 594946 594946 Couper, Roger, of Abbots Bromley, carver 5
5258326 2432719 2432719 defendant Pyper Richard laborer 594946 594946 Pyper, Richard, of Abbots Bromley, laborer 6
5258327 2432719 2432719 defendant Brome William laborer 594946 594946 Brome, William, of Abbots Bromley, laborer 7

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 17.577ms