home / cp40x

names

8 rows where case_id = 2521501

✎ 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
5555104 2521501 2521501 plaintiff Hungerford Richard esq   Hungerford, Richard, esq 0
5555105 2521501 2521501 defendant Brokeden John   899584 899584 Brokeden, John, of St Radegund, Tolleford 0
5555106 2521501 2521501 defendant Yardeley Oliver, junior yeoman 619264 619264 Yardeley, Oliver, junior, of Charlecote, yeoman 1
5555107 2521501 2521501 defendant Dyconson George laborer 899585 899585 Dyconson, George, of Tolleford, laborer 2
5555108 2521501 2521501 defendant Worseley Edward chaplain 623651 623651 Worseley, Edward, of Kynton, chaplain 3
5555109 2521501 2521501 defendant Couper Thomas laborer 586933 586933 Couper, Thomas, of Barford, laborer 4
5555110 2521501 2521501 defendant Ebbys Richard laborer 586933 586933 Ebbys, Richard, of Barford, laborer 5
5555111 2521501 2521501 defendant Balle John laborer 899586 899586 Balle, John, of Bardford, laborer 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 14.599ms