home / cp40x

names

6 rows where case_id = 2272215

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4722015 2272215 2272215 plaintiff Clere Henry     Clere, Henry 0
4722016 2272215 2272215 defendant Turnour William husbandman 598378 598378 Turnour, William, of Crondale, husbandman 0
4722017 2272215 2272215 defendant Turnour Joan     Joan, his wife 1
4722018 2272215 2272215 defendant Stynt John husbandman 588103 588103 Stynt, John, of Bentley, husbandman 2
4722019 2272215 2272215 defendant Lasham John husbandman 588103 588103 Lasham, John, of Bentley, husbandman 3
4722020 2272215 2272215 defendant Clerk Walter   588103 588103 Clerk, Walter, of Bentley, parish clerk 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.247ms