home / cp40x

names

7 rows where case_id = 1867755

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3600352 1867755 1867755 plaintiff Wren Nicholas     Wren, Nicholas 0
3600353 1867755 1867755 defendant Toly John pedder 590243 590243 Toly, John, of Newmarket, pedder 0
3600354 1867755 1867755 defendant Grene Simon clerk 590244 590244 Grene, Simon, of Donwich, clerk 1
3600355 1867755 1867755 defendant Prouet or Pronet Robert clerk 590245 590245 Prouet or Pronet, Robert, of Benacre, clerk 2
3600356 1867755 1867755 defendant Broun William shoemaker 586180 586180 Broun, William, of Bury St Edmunds, shoemaker 3
3600357 1867755 1867755 defendant Gyn John mariner 590246 590246 Gyn, John, of Sysewell, mariner 4
3600358 1867755 1867755 defendant Freman Robert smith 590244 590244 Freman, Robert, of Donwich, smith 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 9.742ms