home / cp40x

names

9 rows where case_id = 2506825

✎ 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
5506087 2506825 2506825 plaintiff Burnby Thomas esq   Burnby, Thomas, esq 0
5506088 2506825 2506825 defendant Geddy Thomas husbandman 621579 621579 Geddy, Thomas, of St Vepe, husbandman 0
5506089 2506825 2506825 defendant Trespysen Richard husbandman 894407 894407 Trespysen, Richard, of Plevylyan, husbandman 1
5506090 2506825 2506825 defendant Philip Robert husbandman 848906 848906 Philip, Robert, of Leskyrtburgh, husbandman 2
5506091 2506825 2506825 defendant Ruby Robert husbandman 894408 894408 Ruby, Robert, of Polskoth the Over, husbandman 3
5506092 2506825 2506825 defendant Fort John husbandman 619791 619791 Fort, John, of Lawannek, husbandman 4
5506093 2506825 2506825 defendant Brode Henry husbandman 606007 606007 Brode, Henry, of St Wynnowe, husbandman 5
5506094 2506825 2506825 defendant Carre John   853842 853842 Carre, John, of Launston Lond, groom 6
5506095 2506825 2506825 defendant Davy Richard husbandman 894407 894407 Davy, Richard, of Plevylyan, husbandman 7

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