home / cp40x

names

8 rows where case_id = 2477507

✎ 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
5408487 2477507 2477507 plaintiff Adams John     Adams, John, on his own account 0
5408488 2477507 2477507 defendant Berton William gent 585951 585951 Berton, William, of Winchester, gent 0
5408489 2477507 2477507 defendant Carpynter William husbandman 882667 882667 Carpynter, William, of Berton by Hyde Abbey, husbandman 1
5408490 2477507 2477507 defendant Gowere Thomas butcher 592998 592998 Gowere, Thomas, of Basyng, butcher 2
5408491 2477507 2477507 defendant More Thomas husbandman 592998 592998 More, Thomas, of Basyng, husbandman 3
5408492 2477507 2477507 defendant Frankeleyn John yeoman 592998 592998 Frankeleyn, John, of Basyng, yeoman 4
5408493 2477507 2477507 defendant Astelot Richard husbandman 882668 882668 Astelot, Richard, of Wordlam, husbandman 5
5408494 2477507 2477507 defendant Savage John   882669 882669 Savage, John, of Bromley by Basyngstoke 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 13.913ms