home / cp40x

names

8 rows where case_id = 2280982

✎ 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
4751684 2280982 2280982 plaintiff Spoo John     Spoo, John, on his own account 0
4751685 2280982 2280982 defendant Southgate Thomas of Geyst yeoman   Southgate, Thomas of Geyst, yeoman 0
4751686 2280982 2280982 defendant Dobbys John husbandman 591084 591084 Dobbys, John, of Geyst, husbandman 1
4751687 2280982 2280982 defendant atte Hill John yeoman 796568 796568 atte Hill, John, of Little Snaryng, yeoman 2
4751688 2280982 2280982 defendant Deye Richard laborer 602498 602498 Deye, Richard, of Althorp, laborer 3
4751689 2280982 2280982 defendant Lucas John yeoman 602980 602980 Lucas, John, of Thorplond, yeoman 4
4751690 2280982 2280982 defendant Hoo John husbandman 796569 796569 Hoo, John, of Little Ryburgh, husbandman 5
4751691 2280982 2280982 defendant Grene Thomas yeoman 766818 766818 Grene, Thomas, of Milham, 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 15.056ms