home / cp40x

names

6 rows where case_id = 2367345

✎ 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
5035868 2367345 2367345 plaintiff Trelauny Richard     Trelauny, Richard 0
5035869 2367345 2367345 defendant Calwa John gent 837892 837892 Calwa, John, of North Coldraynek, gent 0
5035870 2367345 2367345 defendant Ham John   766377 766377 together with Ham, John, of Trevassa, franklin 1
5035871 2367345 2367345 defendant Trethewy William   834476 834476 Trethewy, William, of West Keverell gent 2
5035872 2367345 2367345 defendant Trote Henry yeoman 828341 828341 Trote, Henry, of Seynt Clere, yeoman 3
5035873 2367345 2367345 defendant Bony or Bovy or Bouy Stephen yeoman 640330 640330 Bony or Bovy or Bouy, Stephen, of Lanrak, yeoman 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 18.567ms