home / cp40x

names

6 rows where case_id = 2381028

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5081685 2381028 2381028 plaintiff Dane William     Dane, William 0
5081686 2381028 2381028 defendant Bourne Johmn malrman 586058 586058 Bourne, Johmn, of Enfeld, Middx, malrman 0
5081687 2381028 2381028 defendant Daweney Peter husbandman 602350 602350 Daweney, Peter, of Wormeley, husbandman 1
5081688 2381028 2381028 defendant Billok William loder 586060 586060 Billok, William, of Enfeld, loder 2
5081689 2381028 2381028 defendant Wymbyssh John laborer 593665 593665 Wymbyssh, John, of Leyton, Essex, laborer 3
5081690 2381028 2381028 defendant Sal- William Leyton, husbandman   Sal-, William, Leyton, husbandman 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.127ms