home / cp40x

names

6 rows where case_id = 2551921

✎ 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
5625503 2551921 2551921 plaintiff Man John   589042 589042 Man, John, of Heydon 0
5625504 2551921 2551921 defendant Godfrey John   587166 587166 Godfrey, John, of Salle, "qwistere" 0
5625505 2551921 2551921 defendant Sammes John   587166 587166 Sammes, John, of Salle, "qwystere" 1
5625506 2551921 2551921 defendant Feltewell William barker 758123 758123 Feltewell, William, of Etryngham, barker 2
5625507 2551921 2551921 defendant Prallyng John shoemaker 696747 696747 Prallyng, John, of Alderforde, shoemaker 3
5625508 2551921 2551921 defendant Prentys William shoemaker 588489 588489 Prentys, William, of Melton, shoemaker 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 14.044ms