home / cp40x

names

6 rows where case_id = 1965827

✎ 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
3825501 1965827 1965827 plaintiff Wylson Thomas     Wylson, Thomas 0
3825502 1965827 1965827 defendant Denby Thomas yeoman 630917 630917 Denby, Thomas, of Conesburgh, yeoman 0
3825503 1965827 1965827 defendant Loye John husbandman 630917 630917 Loye, John, of Conesburgh, husbandman 1
3825504 1965827 1965827 defendant Blaysden John husbandman 630917 630917 Blaysden, John, of Conesburgh, husbandman 2
3825505 1965827 1965827 defendant Wentworth William yeoman 630917 630917 Wentworth, William, of Conesburgh, yeoman 3
3825506 1965827 1965827 defendant Welles Philip yeoman 635464 635464 Welles, Philip, of Dernburgh, yeoman 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 18.228ms