home / cp40x

names

5 rows where case_id = 2289059

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4777836 2289059 2289059 plaintiff Baron Thomas     Baron, Thomas 0
4777837 2289059 2289059 defendant Dowegel Richard   801113 801113 Dowegel, Richard, of Whytteney, Oxon, lime burner 0
4777838 2289059 2289059 defendant Polle John weaver 776632 776632 Polle, John, of Whytteney, weaver 1
4777839 2289059 2289059 defendant Begyndon John husbandman 801114 801114 Begyndon, John, of Chyllyston, Oxon, husbandman 2
4777840 2289059 2289059 defendant Hayle Richard cordwainer 609540 609540 Hayle, Richard, of Fayreford, cordwainer 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 6.293ms