home / cp40x

names

6 rows where case_id = 1902941

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3625858 1902941 1902941 plaintiff A Borow Thomas     A Borow, Thomas 0
3625859 1902941 1902941 defendant Longmede Nicholas merchant 592219 592219 Longmede, Nicholas, of Dertmouth, Devon, merchant 0
3625860 1902941 1902941 defendant Harys Hugh yeoman 596713 596713 Harys, Hugh, of Fyppyng Okford, yeoman 1
3625861 1902941 1902941 defendant A Man Richard glover 645403 645403 A Man, Richard, of Wynborn, glover 2
3625862 1902941 1902941 defendant Pope Mathew yeoman 586682 586682 Pope, Mathew, of Mylton, yeoman 3
3625863 1902941 1902941 defendant Wykes Thomas mercer 596715 596715 Wykes, Thomas, of Oveshote, mercer 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 16.573ms