home / cp40x

names

5 rows where case_id = 2050385

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4072271 2050385 2050385 plaintiff Omersley William     Omersley, William 0
4072272 2050385 2050385 defendant Brygges Oliver gent 687668 687668 Brygges, Oliver, of Earnestrye Parke, Salop, gent 0
4072273 2050385 2050385 defendant Coton Ralph gent 687669 687669 Coton, Ralph, of Pype Rydware, gent 1
4072274 2050385 2050385 defendant Babyngton Anthony of Pakynton gent   Babyngton, Anthony of Pakynton, gent 2
4072275 2050385 2050385 defendant Rowley Thomas gent 660976 660976 Rowley, Thomas, of Heykeley, gent 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 14.384ms