home / cp40x

names

7 rows where case_id = 2043014

✎ 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
4051654 2043014 2043014 plaintiff Wood George     Wood, George 0
4051655 2043014 2043014 defendant Parker William yeoman 594541 594541 Parker, William, of Ecclesfeld, yeoman 0
4051656 2043014 2043014 defendant Bell John yeoman 586573 586573 Bell, John, of Barnesley, yeoman 1
4051657 2043014 2043014 defendant Brigge William yeoman 620047 620047 Brigge, William, of South Kirkby, yeoman 2
4051658 2043014 2043014 defendant Beverley Robert yeoman 634440 634440 Beverley, Robert, of Whitkirke, yeoman 3
4051659 2043014 2043014 defendant Wyke Robert yeoman 634440 634440 Wyke, Robert, of Whitkirke, yeoman 4
4051660 2043014 2043014 defendant Stokden George yeoman 634440 634440 Stokden, George, of Whitkirke, 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 15.502ms