home / cp40x

names

6 rows where case_id = 2451017

✎ 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
5319808 2451017 2451017 plaintiff Honyton John     Honyton, John 0
5319809 2451017 2451017 defendant Grey John smith 586772 586772 Grey, John, of Shalford, smith 0
5319810 2451017 2451017 defendant Lenyng or Levyng John husbandman 795159 795159 Lenyng or Levyng, John, of Bergholt Sakevyle, husbandman 1
5319811 2451017 2451017 defendant Aunsell John smith 620453 620453 Aunsell, John, of Coksale, smith 2
5319812 2451017 2451017 defendant Bernard William smith 795159 795159 Bernard, William, of Bergholt Sakevyle, smith 3
5319813 2451017 2451017 defendant Kebyll or Kevyll John fuller 620453 620453 Kebyll or Kevyll, John, of Coksale, fuller 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 15.271ms