home / cp40x

names

8 rows where case_id = 2213905

✎ 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
4543633 2213905 2213905 plaintiff atte Wille John     atte Wille, John 0
4543634 2213905 2213905 defendant Grede Margaret   586997 586997 Grede, Margaret, of Thornerton 0
4543635 2213905 2213905 defendant Grede Thomas   586997 586997 Grede, Thomas, of Thornerton 1
4543636 2213905 2213905 defendant Sherpe Thomas   586997 586997 Sherpe, Thomas, of Thornerton 2
4543637 2213905 2213905 defendant Snoke Robert   586997 586997 Snoke, Robert, of Thornerton 3
4543638 2213905 2213905 defendant Smyth Thomas   586997 586997 Smyth, Thomas, of Thornerton 4
4543639 2213905 2213905 defendant atte Forde William   612741 612741 atte Forde, William, of Holcombe 5
4543640 2213905 2213905 defendant Lugge Walter   596122 596122 Lugge, Walter, of Sampford 6

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 12.533ms