home / cp40x

names

6 rows where case_id = 2459204

✎ 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
5346947 2459204 2459204 plaintiff Baldewyn John     Baldewyn, John 0
5346948 2459204 2459204 defendant Clerk Thomas husbandman 860581 860581 Clerk, Thomas, of Stratford juxta Higham, husbandman 0
5346949 2459204 2459204 defendant Mere Andrew husbandman 721709 721709 Mere, Andrew, of Holbrook, husbandman 1
5346950 2459204 2459204 defendant Wodward William yeoman 622825 622825 Wodward, William, of Brantham, yeoman 2
5346951 2459204 2459204 defendant Denys John yeoman 586134 586134 Denys, John, of Ipswich, yeoman 3
5346952 2459204 2459204 defendant Hecham John yeoman 788666 788666 Hecham, John, of Chelmyngton, yeoman 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.922ms