home / cp40x

names

6 rows where case_id = 2370309

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5045579 2370309 2370309 plaintiff Lassell Roger     Lassell, Roger 0
5045580 2370309 2370309 defendant Routhe John husbandman 596347 596347 Routhe, John, of Stillyngflete, husbandman 0
5045581 2370309 2370309 defendant Swaynby William yeoman 619394 619394 Swaynby, William, of Skypwyth, yeoman 1
5045582 2370309 2370309 defendant Nicolson John husbandman 839446 839446 Nicolson, John, of Nethir Popilton, husbandman 2
5045583 2370309 2370309 defendant Darell Nicholas husbandman 839447 839447 with Darell, Nicholas, of West Cotyngwith, husbandman 3
5045584 2370309 2370309 defendant Toy Adam laborer 639205 639205 Toy, Adam, of Heslerton, laborer 4

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