home / cp40x

names

7 rows where case_id = 2517001

✎ 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
5540015 2517001 2517001 plaintiff Hamslete or Hamflete Maud widow   Hamslete or Hamflete, Maud, widow 0
5540016 2517001 2517001 defendant Mampas John husbandman 593218 593218 Mampas, John, of Magna Okeley, husbandman 0
5540017 2517001 2517001 defendant Were John husbandman 627001 627001 Were, John, of Wykys, husbandman 1
5540018 2517001 2517001 defendant Hurlok Thomas husbandman 593218 593218 Hurlok, Thomas, of Magna Okeley, husbandman 2
5540019 2517001 2517001 defendant Knyght John husbandman 593218 593218 Knyght, John, of Magna Okeley, husbandman 3
5540020 2517001 2517001 defendant Sadeler John yeoman 586470 586470 Sadeler, John, of Colchester, yeoman 4
5540021 2517001 2517001 defendant Perys John husbandman 593218 593218 Perys, John, of Magna Okeley, husbandman 5

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