home / cp40x

names

8 rows where case_id = 2286160

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4768600 2286160 2286160 plaintiff Nicoll John   605076 605076 Nicoll, John, of Bodmin 0
4768601 2286160 2286160 defendant Michell John weaver 799621 799621 Michell, John, of Mechell, weaver 0
4768602 2286160 2286160 defendant Harry John husbandman 799622 799622 Harry, John, of Nanshyllyn, husbandman 1
4768603 2286160 2286160 defendant Kren Ralph husbandman 799623 799623 Kren, Ralph, of Tregonan, husbandman 2
4768604 2286160 2286160 defendant Stephyn Ralph husbandman 799624 799624 Stephyn, Ralph, of Tresilyan, husbandman 3
4768605 2286160 2286160 defendant Hee Simon husbandman 644988 644988 Hee, Simon, of Trenans, husbandman 4
4768606 2286160 2286160 defendant Nicoll Thomas husbandman 614273 614273 Nicoll, Thomas, of Trewery, husbandman 5
4768607 2286160 2286160 defendant Trenans Laurence husbandman 644988 644988 Trenans, Laurence, of Trenans, husbandman 6

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