home / cp40x

names

10 rows where case_id = 2342551

✎ 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
4951920 2342551 2342551 plaintiff Rewe John     Rewe, John 0
4951921 2342551 2342551 defendant Alam John husbandman 826564 826564 Alam, John, of Alam, husbandman 0
4951922 2342551 2342551 defendant Pyket Thomas tucker 586748 586748 Pyket, Thomas, of Welles, tucker 1
4951923 2342551 2342551 defendant Magge Thomas husbandman 609071 609071 Magge, Thomas, of Farneton, husbandman 2
4951924 2342551 2342551 defendant Smyth Richard husbandman 623702 623702 Smyth, Richard, of Trobrygge, Wilts, husbandman 3
4951925 2342551 2342551 defendant Voule William husbandman 592997 592997 Voule, William, of Wedmore, husbandman 4
4951926 2342551 2342551 defendant Spore John husbandman 785810 785810 Spore, John, of Over Stratton, husbandman 5
4951927 2342551 2342551 defendant Heryot John husbandman 761336 761336 Heryot, John, of Est Harpetre, husbandman 6
4951928 2342551 2342551 defendant Cotterne John husbandman 826566 826566 Cotterne, John, of Dychesy, husbandman 7
4951929 2342551 2342551 defendant Gyan John husbandman 826567 826567 Gyan, John, of Clinton, husbandman 8

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