home / cp40x

names

6 rows where case_id = 2271877

✎ 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
4720921 2271877 2271877 plaintiff Bury Nicholas     Bury, Nicholas 0
4720922 2271877 2271877 defendant Aleyn John husbandman 759963 759963 Aleyn, John, of Lodne, husbandman 0
4720923 2271877 2271877 defendant Wyrmegeye John yeoman 588239 588239 Wyrmegeye, John, of Yelverton, yeoman 1
4720924 2271877 2271877 defendant Bedeford Thomas husbandman 593814 593814 Bedeford, Thomas, of Sporle, husbandman 2
4720925 2271877 2271877 defendant Skyn William husbandman 586992 586992 Skyn, William, of Ingham, husbandman 3
4720926 2271877 2271877 defendant Seyned Robert glasier 585936 585936 Seyned, Robert, of Norwich, glasier 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 13.31ms