home / cp40x

names

7 rows where case_id = 2347880

✎ 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
4969684 2347880 2347880 plaintiff Gulby John     Gulby, John 0
4969685 2347880 2347880 defendant Clement William shipman 589219 589219 Clement, William, of Gravesende, shipman 0
4969686 2347880 2347880 defendant Frankeleyn Robert butcher 588791 588791 Frankeleyn, Robert, of Derteford, butcher 1
4969687 2347880 2347880 defendant Bryse Thomas husbandman 589219 589219 Bryse, Thomas, of Gravesende, husbandman 2
4969688 2347880 2347880 defendant Tremer James tiler 588791 588791 Tremer, James, of Derteford, tiler 3
4969689 2347880 2347880 defendant Aleyn Richard dyer 588791 588791 Aleyn, Richard, of Derteford, dyer 4
4969690 2347880 2347880 defendant Caunterbury John husbandman 589494 589494 Caunterbury, John, of Northflete, husbandman 5

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