home / cp40x

names

6 rows where case_id = 2499226

✎ 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
5480830 2499226 2499226 plaintiff Drake John     Drake, John 0
5480831 2499226 2499226 defendant Larens John yeoman 600191 600191 Larens, John, of Wysbeche, yeoman 0
5480832 2499226 2499226 defendant Clerk Robert husbandman 598719 598719 Clerk, Robert, of Emneth, Norf, husbandman 1
5480833 2499226 2499226 defendant Lokton Robert yeoman 600191 600191 Lokton, Robert, of Wysbeche, yeoman 2
5480834 2499226 2499226 defendant Inggram John glover 600191 600191 Inggram, John, of Wysbeche, glover 3
5480835 2499226 2499226 defendant Sherman Robert husbandman 595660 595660 Sherman, Robert, of Walpole, Norf, husbandman 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 14.608ms