home / cp40x

names

8 rows where case_id = 2549726

✎ 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
5618821 2549726 2549726 plaintiff Neuport William de     Neuport, William de 0
5618822 2549726 2549726 defendant Marton Alexander de   691597 691597 Marton, Alexander de, of Hexham 0
5618823 2549726 2549726 defendant Walleworth John de another brother in the same priory   Walleworth, John de, another brother in the same priory 1
5618824 2549726 2549726 defendant Dobson John   615097 615097 Dobson, John, of Calthorn 2
5618825 2549726 2549726 defendant Williamesson John   906403 906403 Williamesson, John, of Ulleskelf 3
5618826 2549726 2549726 defendant Wellom Adam de     Wellom, Adam de 4
5618827 2549726 2549726 defendant Leycestre William de     Leycestre, William de 5
5618828 2549726 2549726 defendant Malgham Ralph de     Malgham, Ralph de 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 13.718ms