home / cp40x

names

6 rows where case_id = 2442392

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5291072 2442392 2442392 plaintiff Penythorn Nicholas     Penythorn, Nicholas 0
5291073 2442392 2442392 defendant Martyn William yeoman 869298 869298 Martyn, William, of Bottesford, Lincs, yeoman 0
5291074 2442392 2442392 defendant Dorell William cordwainer 587948 587948 Dorell, William, of Newerk, cordwainer 1
5291075 2442392 2442392 defendant Mathewe John smith 587948 587948 Mathewe, John, of Newerk, smith 2
5291076 2442392 2442392 defendant Fox Nicholas chapman 622892 622892 Fox, Nicholas, of Torkesey, Lincs, chapman 3
5291077 2442392 2442392 defendant Webster William, junior husbandman 869299 869299 Webster, William, junior, of Baldeton, 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 11.452ms