home / cp40x

names

5 rows where case_id = 2076835

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4146237 2076835 2076835 plaintiff Chapman Richard     Chapman, Richard 0
4146238 2076835 2076835 defendant Wylche John baker 703144 703144 Wylche, John, of Thursforde, baker 0
4146239 2076835 2076835 defendant Maye William husbandman 611521 611521 Maye, William, of Thursford, husbandman 1
4146240 2076835 2076835 defendant Hipgame or Hipgaine William butcher 703145 703145 Hipgame or Hipgaine, William, of Hyndringham, butcher 2
4146241 2076835 2076835 defendant Borrell Robert carpenter 703145 703145 Borrell, Robert, of Hyndringham, carpenter 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.537ms