home / cp40x

names

7 rows where case_id = 2515505

✎ 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
5535087 2515505 2515505 plaintiff Beresford Aidan     Beresford, Aidan 0
5535088 2515505 2515505 defendant Roberd Richard husbandman 607479 607479 Roberd, Richard, of Feny Bentley, husbandman 0
5535089 2515505 2515505 defendant Roberd Robert laborer 607479 607479 Roberd, Robert, of Feny Bentley, laborer 1
5535090 2515505 2515505 defendant Old John chapman 607479 607479 Old, John, of Feny Bentley, chapman 2
5535091 2515505 2515505 defendant Smartewode Richard chapman 897361 897361 Smartewode, Richard, of Coumdon, Assheburn, chapman 3
5535092 2515505 2515505 defendant Smertewode William husbandman 775680 775680 Smertewode, William, of Mapilton, husbandman 4
5535093 2515505 2515505 defendant Smertewode John laborer 775680 775680 Smertewode, John, of Mapilton, laborer 5

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