home / cp40x

names

5 rows where case_id = 2148475

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4353575 2148475 2148475 plaintiff Smithe John     Smithe, John 0
4353576 2148475 2148475 defendant Simpson Peter husbandman 743129 743129 Simpson, Peter, of Skearton, Lancs, husbandman 0
4353577 2148475 2148475 defendant Potter Christopher husbandman 743130 743130 Potter, Christopher, of Cythe, husbandman 1
4353578 2148475 2148475 defendant Murtwhayt Edward husbandman 743131 743131 Murtwhayt, Edward, of Whinfell, husbandman 2
4353579 2148475 2148475 defendant Durrowe Reginald husbandman 641541 641541 Durrowe, Reginald, of Underbarrowe, husbandman 3

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