home / cp40x

names

6 rows where case_id = 2306310

✎ 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
4832892 2306310 2306310 plaintiff Chamberlayn William     Chamberlayn, William 0
4832893 2306310 2306310 defendant Renaud John tailor 586254 586254 Renaud, John, of Southampton, tailor 0
4832894 2306310 2306310 defendant Bullok John sadler 586254 586254 Bullok, John, of Southampton, sadler 1
4832895 2306310 2306310 defendant Clere John husbandman 809634 809634 Clere, John, of Southshet, husbandman 2
4832896 2306310 2306310 defendant Frenssh John haulier 801995 801995 Frenssh, John, of Byryton, haulier 3
4832897 2306310 2306310 defendant Bernam William husbandman 809635 809635 Bernam, William, of Kyngeston by Portesmouth, husbandman 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 12.135ms