home / cp40x

names

6 rows where case_id = 2384164

✎ 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
5092426 2384164 2384164 plaintiff Parantowre Thomas     Parantowre, Thomas 0
5092427 2384164 2384164 defendant Chalnecombe John, junior husbandman 606395 606395 Chalnecombe, John, junior, of Combe Martyn, husbandman 0
5092428 2384164 2384164 defendant Jenkyn John husbandman 606395 606395 Jenkyn, John, of Combe Martyn, husbandman 1
5092429 2384164 2384164 defendant Mares Thomas skinner 606395 606395 Mares, Thomas, of Combe Martyn, skinner 2
5092430 2384164 2384164 defendant Chalnecombe John butcher 606395 606395 Chalnecombe, John, of Combe Martyn, butcher 3
5092431 2384164 2384164 defendant Hayward John cordwainer 606395 606395 Hayward, John, of Combe Martyn, cordwainer 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 14.122ms