home / cp40x

names

9 rows where case_id = 2189056

✎ 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
4462774 2189056 2189056 plaintiff Thornhaugh Thomas de   759613 759613 Thornhaugh, Thomas de, of North Clyfton, on his own account 0
4462775 2189056 2189056 defendant Scarle Roger   596906 596906 Scarle, Roger, of Newton 0
4462776 2189056 2189056 defendant Scarle Richard   596906 596906 Scarle, Richard, of Newton 1
4462777 2189056 2189056 defendant Lee Hugh de   592147 592147 Lee, Hugh de, of Neuton 2
4462778 2189056 2189056 defendant Bate William   592147 592147 Bate, William, of Neuton 3
4462779 2189056 2189056 defendant Lane John othe   592147 592147 Lane, John othe, of Neuton 4
4462780 2189056 2189056 defendant Lane William othe   592147 592147 Lane, William othe, of Neuton 5
4462781 2189056 2189056 defendant Clyfton Hugh de   592147 592147 Clyfton, Hugh de, of Neuton 6
4462782 2189056 2189056 defendant Juban or Inban John     Juban or Inban, John 7

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