home / cp40x

names

6 rows where case_id = 1864016

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3588375 1864016 1864016 plaintiff Benale or Bevale John     Benale or Bevale, John 0
3588376 1864016 1864016 defendant Bull Robert   586180 586180 Bull, Robert, of Bury St Edmunds, bed weaver 0
3588377 1864016 1864016 defendant Clement William sherman 586180 586180 Clement, William, of Bury St Edmunds, sherman 1
3588378 1864016 1864016 defendant Meltun Thomas yeoman 586297 586297 Meltun, Thomas, of Hereswell, yeoman 2
3588379 1864016 1864016 defendant Tylly John weaver 586180 586180 Tylly, John, of Bury St Edmunds, weaver 3
3588380 1864016 1864016 defendant Cotys John tinker 586298 586298 Cotys, John, of Mildenall, tinker 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 9.614ms