home / cp40x

names

7 rows where case_id = 2246538

✎ 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
4651919 2246538 2246538 plaintiff Asshwell John grocer 585869 585869 Asshwell, John, of London, grocer 0
4651920 2246538 2246538 defendant Heryng Robert husbandman 586963 586963 Heryng, Robert, of Grantham, Lincs, husbandman 0
4651921 2246538 2246538 defendant Cobwell William drover 759841 759841 Cobwell, William, of Berford, Oxon, drover 1
4651922 2246538 2246538 defendant Horwode William pulter 778100 778100 Horwode, William, of Horwode, Bucks, pulter 2
4651923 2246538 2246538 defendant Macard John   810617 810617 Macard, John, of Harle, Berks chapman 3
4651924 2246538 2246538 defendant Gaddesden John husbandman 778102 778102 Gaddesden, John, of Brukkyng, husbandman 4
4651925 2246538 2246538 defendant Wygh John husbandman 778103 778103 Wygh, John, of Knyghtbregge, Middx, husbandman 5

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 12.094ms