home / cp40x

names

6 rows where case_id = 2431741

✎ 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
5255193 2431741 2431741 plaintiff Coket John   600529 600529 Coket, John, of Ampton 0
5255194 2431741 2431741 defendant Tebald John dyer 586912 586912 Tebald, John, of Melford, dyer 0
5255195 2431741 2431741 defendant Deye John weaver 586953 586953 Deye, John, of Sudbury, weaver 1
5255196 2431741 2431741 defendant Dowe Lawrence yeoman 586953 586953 Dowe, Lawrence, of Sudbury, yeoman 2
5255197 2431741 2431741 defendant Fyschelake John yeoman 586953 586953 Fyschelake, John, of Sudbury, yeoman 3
5255198 2431741 2431741 defendant Thruston Robert yeoman 595932 595932 Thruston, Robert, of Waldyngfeld, 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 15.276ms