home / cp40x

names

5 rows where case_id = 2324188

✎ 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
4891851 2324188 2324188 plaintiff Payne John   598683 598683 Payne, John, of Haverill 0
4891852 2324188 2324188 plaintiff Sterlyng John chapman 818157 818157 Sterlyng, John, of Folsham, Borf, chapman 1
4891853 2324188 2324188 defendant Mey John chapman 590421 590421 Mey, John, of Sturmer, Essex, chapman 0
4891854 2324188 2324188 defendant Comvyle Robert husbandman 774228 774228 Comvyle, Robert, of Kedyngton, Essex, husbandman 1
4891855 2324188 2324188 defendant Lansell or Lausell John husbandman 604476 604476 Lansell or Lausell, John, of Haverhill, husbandman 2

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