home / cp40x

names

8 rows where case_id = 2390460

✎ 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
5113920 2390460 2390460 plaintiff Lescrope Thomas     Lescrope, Thomas 0
5113921 2390460 2390460 defendant Butterworth Roger yeoman 590548 590548 Butterworth, Roger, of Thryske, yeoman 0
5113922 2390460 2390460 defendant Webster Thomas chaplain 590548 590548 Webster, Thomas, of Thryske, chaplain 1
5113923 2390460 2390460 defendant Calton John   590548 590548 Calton, John, of Thryske, parish clerk 2
5113924 2390460 2390460 defendant Colson Robert barker 590548 590548 Colson, Robert, of Thryske, barker 3
5113925 2390460 2390460 defendant Mariot John mercer 590548 590548 Mariot, John, of Thryske, mercer 4
5113926 2390460 2390460 defendant Saunderson Robert berker 590548 590548 Saunderson, Robert, of Thryske, berker 5
5113927 2390460 2390460 defendant Grenewode William gent 590548 590548 Grenewode, William, of Thryske, gent 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 14.647ms