home / cp40x

names

6 rows where case_id = 2404932

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5163088 2404932 2404932 plaintiff Waytes John     Waytes, John 0
5163089 2404932 2404932 defendant Childerhous Richard shipman 587760 587760 Childerhous, Richard, of Eston Bavent, shipman 0
5163090 2404932 2404932 defendant Garlond William husbandman 854977 854977 Garlond, William, of Cokekley, husbandman 1
5163091 2404932 2404932 defendant Eye John jun, of Wyrlyngham, butcher   Eye, John, jun, of Wyrlyngham, butcher 2
5163092 2404932 2404932 defendant Weve or Wene John carpenter 596298 596298 Weve or Wene, John, of Beccles, carpenter 3
5163093 2404932 2404932 defendant Benston John shipman 798452 798452 Benston, John, of Cove Hythe, shipman 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 18.133ms