home / cp40x

names

7 rows where case_id = 2505324

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5501228 2505324 2505324 plaintiff Some John     Some, John 0
5501229 2505324 2505324 defendant William of Beteley yeoman   William, of Beteley, yeoman 0
5501230 2505324 2505324 defendant Toke Simon yeoman 589533 589533 Toke, Simon, of Beteley, yeoman 1
5501231 2505324 2505324 defendant Hawys John laborer 589533 589533 Hawys, John, of Beteley, laborer 2
5501232 2505324 2505324 defendant Bache William yeoman 589533 589533 Bache, William, of Beteley, yeoman 3
5501233 2505324 2505324 defendant Wodecrosse Adam yeoman 589533 589533 Wodecrosse, Adam, of Beteley, yeoman 4
5501234 2505324 2505324 defendant Hamond William yeoman 589533 589533 Hamond, William, of Beteley, yeoman 5

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.158ms