home / cp40x

names

7 rows where case_id = 2404219

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5160670 2404219 2404219 plaintiff Sowey John clerk   Sowey, John, clerk, executor of 0
5160671 2404219 2404219 plaintiff Sowey Richard     Sowey, Richard 1
5160672 2404219 2404219 defendant Aysheford John gent 854683 854683 Aysheford, John, of Bishop's Lydeyard, gent 0
5160673 2404219 2404219 defendant Drake Alexander husbandman 656362 656362 Drake, Alexander, of Beer, husbandman 1
5160674 2404219 2404219 defendant Clopton Richard ostler 590066 590066 Clopton, Richard, of Bryggewater, ostler 2
5160675 2404219 2404219 defendant Slye Thomas husbandman 854684 854684 Slye, Thomas, of Nertherham, husbandman 3
5160676 2404219 2404219 defendant Brydde John husbandman 588135 588135 Brydde, John, of Somerton, 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 8.179ms