home / cp40x

names

8 rows where case_id = 2428085

✎ 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
5242745 2428085 2428085 plaintiff Morley Robert esq   Morley, Robert, esq 0
5242746 2428085 2428085 defendant Seman Richard husbandman 589534 589534 Seman, Richard, of Depham, husbandman 0
5242747 2428085 2428085 defendant Seman Nicholas laborer 589534 589534 Seman, Nicholas, of Depham, laborer 1
5242748 2428085 2428085 defendant Broun John laborer 589534 589534 Broun, John, of Depham, laborer 2
5242749 2428085 2428085 defendant Beele William husbandman 863322 863322 Beele, William, of Parva Glyngham, husbandman 3
5242750 2428085 2428085 defendant Carter John husbandman 589534 589534 Carter, John, of Depham, husbandman 4
5242751 2428085 2428085 defendant Brokhole Thomas baker 586102 586102 Brokhole, Thomas, of Hengham, baker 5
5242752 2428085 2428085 defendant Boys Richard yeoman 586102 586102 Boys, Richard, of Hengham, yeoman 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 12.612ms