home / cp40x

names

9 rows where case_id = 2200820

✎ 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
4500630 2200820 2200820 plaintiff Karwent John     Karwent, John, on his own account 0
4500631 2200820 2200820 defendant Clement Walter   586143 586143 Clement, Walter, of Norton 0
4500632 2200820 2200820 defendant Kyng William   592894 592894 Kyng, William, of Threston 1
4500633 2200820 2200820 defendant Warant Robert   599961 599961 Warant, Robert, of Aldeby 2
4500634 2200820 2200820 defendant Andymer Thomas clerk   Andymer, Thomas, clerk 3
4500635 2200820 2200820 defendant Stygayn John shipman   Stygayn, John, shipman 4
4500636 2200820 2200820 defendant Dysse John   763819 763819 Dysse, John, of Ovytton or Quytton 5
4500637 2200820 2200820 defendant Reed John chaplain 586818 586818 Reed, John, of Stowemarket, chaplain 6
4500638 2200820 2200820 defendant North William   763820 763820 North, William, of Benthorp 7

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 13.955ms