home / cp40x

names

6 rows where case_id = 2302257

✎ 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
4819769 2302257 2302257 plaintiff Polreden John     Polreden, John, on his own account 0
4819770 2302257 2302257 defendant Rawe Thomas husbandman 807333 807333 Rawe, Thomas, of Higher St Columb, mercerl Calellen, Benedict, of Resyk, husbandman 0
4819771 2302257 2302257 defendant Laulevery Stephen clerk 807334 807334 Laulevery, Stephen, of Eglostruk, clerk 1
4819772 2302257 2302257 defendant Tregher Thomas yeoman 807335 807335 Tregher, Thomas, of Trenebyn, yeoman 2
4819773 2302257 2302257 defendant Alveston Matilda   807336 807336 Alveston, Matilda, of Trewelawen, widow, formerly wife of John Alveston 3
4819774 2302257 2302257 defendant Trenewyth John juniro, of Treweres, husbandman   Trenewyth, John, juniro, of Treweres, husbandman 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 14.86ms