home / cp40x

names

4 rows where case_id = 2466304

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5370311 2466304 2466304 plaintiff Godere John gent 878927 878927 Godere, John, of Hadleygh, Middx, gent 0
5370312 2466304 2466304 defendant Shyngylherst Nicholas husbandman 878928 878928 Shyngylherst, Nicholas, of Dunstapyll or Dunstable, Beds, husbandman 0
5370313 2466304 2466304 defendant Colyns William husbandman 591860 591860 Colyns, William, of Dunstapyll, husbandman 1
5370314 2466304 2466304 defendant Geffrey Richard husbandman 878929 878929 Geffrey, Richard, of Kennysworth or Kensworth, Herts, husbandman 2

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.417ms