home / cp40x

names

5 rows where case_id = 2406632

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5168893 2406632 2406632 plaintiff Flemmyng Charles   637272 637272 Flemmyng, Charles, of Worksop, prior 0
5168894 2406632 2406632 defendant Barry Edmund gent 855608 855608 Barry, Edmund, of Tolkerton, Notts, gent 0
5168895 2406632 2406632 defendant Armestronge Hugh gent 818436 818436 Armestronge, Hugh, of Cortlyngstoke, Notts, gent 1
5168896 2406632 2406632 defendant Belarde John yeoman 855609 855609 Belarde, John, of Ratclyff, Notts, yeoman 2
5168897 2406632 2406632 defendant Bewell William husbandman 855610 855610 Bewell, William, of Plumptre, Notts, husbandman 3

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