home / cp40x

names

7 rows where case_id = 1908986

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3645456 1908986 1908986 plaintiff Grey Richard Earl of Kent   Grey, Richard, Earl of Kent 0
3645457 1908986 1908986 defendant Adderby William husbandman 601458 601458 Adderby, William, of Pudyngton, husbandman 0
3645458 1908986 1908986 defendant Rygge Henry yeoman 596981 596981 Rygge, Henry, of Yardeley, yeoman 1
3645459 1908986 1908986 defendant Odyham John, senior husbandman 598512 598512 Odyham, John, senior, of Horton, husbandman 2
3645460 1908986 1908986 defendant Odyham John, junior husbandman 598512 598512 Odyham, John, junior, of Horton, husbandman 3
3645461 1908986 1908986 defendant Tommys Robert yeoman 595169 595169 Tommys, Robert, of Olney, Bucks, yeoman 4
3645462 1908986 1908986 defendant Boterworth William yeoman 591814 591814 Boterworth, William, of Olney, yeoman 5

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