home / cp40x

names

5 rows where case_id = 1931887

✎ 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
3717855 1931887 1931887 plaintiff Enys Thomas   591010 591010 Enys, Thomas, of Penryn 0
3717856 1931887 1931887 defendant Kyllygrewe Alexander gent 587114 587114 Kyllygrewe, Alexander, of Bodmyn, gent 0
3717857 1931887 1931887 defendant Petyt Thomas gent 597061 597061 Petyt, Thomas, of Penryn Burgh, gent 1
3717858 1931887 1931887 defendant Jerret John mercer 591010 591010 Jerret, John, of Penryn, mercer 2
3717859 1931887 1931887 defendant Harry John yeoman 591010 591010 Harry, John, of Penryn, yeoman 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 15.234ms