home / cp40x

names

10 rows where case_id = 1992821

✎ 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
3907552 1992821 1992821 plaintiff Paston William knight   Paston, William, knight 0
3907553 1992821 1992821 defendant Smyth Roger husbandman 593814 593814 Smyth, Roger, of Sporle, husbandman 0
3907554 1992821 1992821 defendant Briges Edward husbandman 593814 593814 Briges, Edward, of Sporle, husbandman 1
3907555 1992821 1992821 defendant Kyrby John husbandman 593814 593814 Kyrby, John, of Sporle, husbandman 2
3907556 1992821 1992821 defendant Cukcoo John husbandman 593814 593814 Cukcoo, John, of Sporle, husbandman 3
3907557 1992821 1992821 defendant Hyll Richard husbandman 593814 593814 Hyll, Richard, of Sporle, husbandman 4
3907558 1992821 1992821 defendant Deye Robert husbandman 593814 593814 Deye, Robert, of Sporle, husbandman 5
3907559 1992821 1992821 defendant Ivego Simon   593814 593814 Ivego, Simon, of Sporle, shepherd 6
3907560 1992821 1992821 defendant Robson John husbandman 593814 593814 Robson, John, of Sporle, husbandman 7
3907561 1992821 1992821 defendant Robson Thomas husbandman 593814 593814 Robson, Thomas, of Sporle, husbandman 8

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.768ms