home / cp40x

names

8 rows where case_id = 1925572

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3697919 1925572 1925572 plaintiff Tracy William esq 587294 587294 Tracy, William, of Todyngton, esq 0
3697920 1925572 1925572 defendant Edmondes Edward husbandman 613347 613347 Edmondes, Edward, of Lyttylton Drewe, Wilts, husbandman 0
3697921 1925572 1925572 defendant Pontyng John, senior husbandman 613348 613348 Pontyng, John, senior, of Lyttylton Drewe, husbandman 1
3697922 1925572 1925572 defendant Pontyng John, junior husbandman 613348 613348 Pontyng, John, junior, of Lyttylton Drewe, husbandman 2
3697923 1925572 1925572 defendant Smarte Richard husbandman 613348 613348 Smarte, Richard, of Lyttylton Drewe, husbandman 3
3697924 1925572 1925572 defendant Stevyns Roger husbandman 613348 613348 Stevyns, Roger, of Lyttylton Drewe, husbandman 4
3697925 1925572 1925572 defendant Vynsent Robert husbandman 613348 613348 Vynsent, Robert, of Lyttylton Drewe, husbandman 5
3697926 1925572 1925572 defendant Gatteyn Thomas husbandman 613348 613348 Gatteyn, Thomas, of Lyttylton Drewe, husbandman 6

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