home / cp40x

names

5 rows where case_id = 2036132

✎ 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
4032054 2036132 2036132 plaintiff Fydell Thomas, senior dwelling in parish of All Saints   Fydell, Thomas, senior, dwelling in parish of All Saints 0
4032055 2036132 2036132 defendant Cotton Robert husbandman 586933 586933 Cotton, Robert, of Barford, husbandman 0
4032056 2036132 2036132 defendant Bennett Roger tanner 609336 609336 Bennett, Roger, of Hallesworth, Suff, tanner 1
4032057 2036132 2036132 defendant Burlyngham Thomas joiner 640861 640861 Burlyngham, Thomas, of Gressenall, miller or of Norwich St Martin of the Bayle, joiner 2
4032058 2036132 2036132 defendant Smythe Robert   651098 651098 Smythe, Robert, of Beckell, Suff, mason 3

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