home / cp40x

names

8 rows where case_id = 2514806

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5532782 2514806 2514806 plaintiff Vernon Henry knight   Vernon, Henry, knight 0
5532783 2514806 2514806 defendant Taillour Thomas husbandman 843169 843169 Taillour, Thomas, of Selston, Notts, husbandman 0
5532784 2514806 2514806 defendant Taillour John husbandman 609901 609901 Taillour, John, of Selston, husbandman 1
5532785 2514806 2514806 defendant Lane Robert husbandman 590495 590495 Lane, Robert, of Rypley, husbandman 2
5532786 2514806 2514806 defendant Whitworth Robert husbandman 611650 611650 Whitworth, Robert, of Pynkeston, husbandman 3
5532787 2514806 2514806 defendant Fulwodde James husbandman 590494 590494 Fulwodde, James, of Ripley, husbandman 4
5532788 2514806 2514806 defendant Wilson Thomas husbandman 897103 897103 Wilson, Thomas, of Heethe, husbandman 5
5532789 2514806 2514806 defendant Wilson Richard husbandman 897104 897104 Wilson, Richard, of Tybschelff, 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 14.852ms