home / cp40x

names

7 rows where case_id = 2287533

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4773015 2287533 2287533 plaintiff Stubbard John clerk 588646 588646 Stubbard, John, of Glemysford, clerk 0
4773016 2287533 2287533 plaintiff Bacon Stephen   586180 586180 Bacon, Stephen, of Bury St Edmunds 1
4773017 2287533 2287533 defendant Waryn Robert husbandman 591949 591949 Waryn, Robert, of Thorp, husbandman 0
4773018 2287533 2287533 defendant Harecorth John husbandman 796907 796907 Harecorth, John, of Illey Combusta, husbandman 1
4773019 2287533 2287533 defendant Bakere William yeoman 792773 792773 Bakere, William, of Wethirden, yeoman 2
4773020 2287533 2287533 defendant Fermour John yeoman 586394 586394 Fermour, John, of Badwell, yeoman 3
4773021 2287533 2287533 defendant Spryng John husbandman 595078 595078 Spryng, John, of Hawele, husbandman 4

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