home / cp40x

names

8 rows where case_id = 2514807

✎ 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
5532790 2514807 2514807 plaintiff Vernon Henry knight   Vernon, Henry, knight 0
5532791 2514807 2514807 defendant Taylour Thomas husbandman 843169 843169 Taylour, Thomas, of Selston, Notts, husbandman 0
5532792 2514807 2514807 defendant Taylour John husbandman 609901 609901 Taylour, John, of Selston, husbandman 1
5532793 2514807 2514807 defendant Lane Robert husbandman 590495 590495 Lane, Robert, of Rypley, husbandman 2
5532794 2514807 2514807 defendant Whitteworth Robert husbandman 611650 611650 Whitteworth, Robert, of Pynkeston, husbandman 3
5532795 2514807 2514807 defendant Fulwode James husbandman 590495 590495 Fulwode, James, of Rypley, husbandman 4
5532796 2514807 2514807 defendant Wilson Thomas husbandman 897105 897105 Wilson, Thomas, of le Heethe, husbandman 5
5532797 2514807 2514807 defendant Wilson Richard husbandman 897106 897106 Wilson, Richard, of Tibbishef, husbandman 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 19.154ms