home / cp40x

names

6 rows where case_id = 1938275

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3738573 1938275 1938275 plaintiff Munde Roger     Munde, Roger 0
3738574 1938275 1938275 defendant Lawghton John, junior yeoman 598603 598603 Lawghton, John, junior, of Hanley Castell, yeoman 0
3738575 1938275 1938275 defendant Kyrwode William husbandman 620937 620937 Kyrwode, William, of Pypleton, husbandman 1
3738576 1938275 1938275 defendant Kente William butcher 586318 586318 Kente, William, of Worcester, butcher 2
3738577 1938275 1938275 defendant Wyldes Robert shoemaker 608019 608019 Wyldes, Robert, of Kydermynster, shoemaker 3
3738578 1938275 1938275 defendant Munde William husbandman 620938 620938 Munde, William, of Bekeley, 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 6.888ms