home / cp40x

names

6 rows where case_id = 1866420

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3596134 1866420 1866420 plaintiff Orlowe Andrew     Orlowe, Andrew 0
3596135 1866420 1866420 defendant Cheltour John butcher 588170 588170 Cheltour, John, of Wangford, butcher 0
3596136 1866420 1866420 defendant Veyse Thomas husbandman 588170 588170 Veyse, Thomas, of Wangford, husbandman 1
3596137 1866420 1866420 defendant Caunseller William mariner 586635 586635 Caunseller, William, of Kessynglond, mariner 2
3596138 1866420 1866420 defendant Wryght William butcher 585934 585934 Wryght, William, of Becclys, butcher 3
3596139 1866420 1866420 defendant Wylde Thomas butcher 585934 585934 Wylde, Thomas, of Becclys, butcher 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 28.794ms