home / cp40x

names

7 rows where case_id = 2418649

✎ 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
5209973 2418649 2418649 plaintiff Stokton John mercer 585869 585869 Stokton, John, of London, mercer 0
5209974 2418649 2418649 defendant Dokham John chapman 676872 676872 Dokham, John, of Torrington, Devon, chapman 0
5209975 2418649 2418649 defendant Wylkys John chapman 624085 624085 Wylkys, John, of Abbot Stoke, Dorset, chapman 1
5209976 2418649 2418649 defendant Roper Thomas chapman 618877 618877 Roper, Thomas, of Baunton, Devon, chapman 2
5209977 2418649 2418649 defendant Gegon John chapman 587686 587686 Gegon, John, of Stortford, Herts, chapman 3
5209978 2418649 2418649 defendant Rotyr Thomas butcher 589395 589395 Rotyr, Thomas, of Stortford, butcher 4
5209979 2418649 2418649 defendant Dous or Dons John chapman 651570 651570 Dous or Dons, John, of Wallingford, Berks, chapman 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 6.62ms