home / cp40x

names

6 rows where case_id = 2223023

✎ 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
4572775 2223023 2223023 plaintiff Attewode Thomas     Attewode, Thomas 0
4572776 2223023 2223023 defendant Ovywand Walter   601710 601710 Ovywand, Walter, of Langdon 0
4572777 2223023 2223023 defendant Lythyng Henry   765305 765305 Lythyng, Henry, of Gynge Mounteney 1
4572778 2223023 2223023 defendant Somer William   764627 764627 Somer, William, of Alvethele 2
4572779 2223023 2223023 defendant Webbe Roger   587250 587250 Webbe, Roger, of Coryngham 3
4572780 2223023 2223023 defendant Grene Thomas   756337 756337 Grene, Thomas, of Staneford 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 27.824ms