home / cp40x

names

6 rows where case_id = 2546875

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5610122 2546875 2546875 plaintiff (not given) William vicar of atte Halle 760049 760049 atte Halle, William, of Scaldewell, vicar of the church in Melton 0
5610123 2546875 2546875 defendant Bray Bartholomew   754637 754637 Bray, Bartholomew, of Briklesworth 0
5610124 2546875 2546875 defendant Gylour John   905674 905674 Gylour, John, of Briklesworth, Willewas, Simon in the, of Cranesle 1
5610125 2546875 2546875 defendant Warde John   760049 760049 Warde, John, of Scaldewell 2
5610126 2546875 2546875 defendant Warde Simon   905675 905675 Warde, Simon, of Lanteport 3
5610127 2546875 2546875 defendant Hendeson Roger   600403 600403 Hendeson, Roger, of Hoghton 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.531ms