getDataRecords
getDataRecords(
resource):undefined|Record<string,unknown>[]
Defined in: metadata/actions/resource/data.ts:29
Parameters
Section titled “Parameters”resource
Section titled “resource”alternateIdentifiers?
Section titled “alternateIdentifiers?”object[] = ...
contributors?
Section titled “contributors?”object[] = ...
creators?
Section titled “creators?”object[] = ...
unknown = ...
dataSchema?
Section titled “dataSchema?”string | Record<string, unknown> = ...
dates?
Section titled “dates?”object[] = ...
descriptions?
Section titled “descriptions?”object[] = ...
string = ...
format?
Section titled “format?”{ columnNames?: string[]; commentPrefix?: string; commentRows?: number[]; delimiter?: string; description?: string; headerJoin?: string; headerRows?: false | number[]; lineTerminator?: string; name: "csv"; nullSequence?: string; quoteChar?: string; title?: string; } | { columnNames?: string[]; commentPrefix?: string; commentRows?: number[]; description?: string; headerJoin?: string; headerRows?: false | number[]; lineTerminator?: string; name: "tsv"; nullSequence?: string; title?: string; } | { columnNames?: string[]; commentPrefix?: string; commentRows?: number[]; description?: string; headerJoin?: string; headerRows?: false | number[]; jsonPointer?: string; name: "json"; rowType?: "object" | "array"; title?: string; } | { columnNames?: string[]; commentPrefix?: string; commentRows?: number[]; description?: string; headerJoin?: string; headerRows?: false | number[]; name: "jsonl"; rowType?: "object" | "array"; title?: string; } | { columnNames?: string[]; commentPrefix?: string; commentRows?: number[]; description?: string; headerJoin?: string; headerRows?: false | number[]; name: "xlsx"; sheetName?: string; sheetNumber?: number; title?: string; } | { columnNames?: string[]; commentPrefix?: string; commentRows?: number[]; description?: string; headerJoin?: string; headerRows?: false | number[]; name: "ods"; sheetName?: string; sheetNumber?: number; title?: string; } | { description?: string; name: "sqlite"; tableName?: string; title?: string; } | { description?: string; name: "parquet"; title?: string; } | { description?: string; name: "arrow"; title?: string; } | { description?: string; name?: undefined; title?: string; } = ...
formats?
Section titled “formats?”string[] = ...
fundingReferences?
Section titled “fundingReferences?”object[] = ...
geoLocations?
Section titled “geoLocations?”object[] = ...
integrity?
Section titled “integrity?”{ hash: string; type: "md5" | "sha1" | "sha256" | "sha512"; } = ...
integrity.hash
Section titled “integrity.hash”string = ...
integrity.type
Section titled “integrity.type”"md5" | "sha1" | "sha256" | "sha512" = ...
language?
Section titled “language?”string = ...
string = ...
prefix?
Section titled “prefix?”string = ...
publicationYear?
Section titled “publicationYear?”string = ...
publisher?
Section titled “publisher?”{ lang?: string; name: string; publisherIdentifier?: string; publisherIdentifierScheme?: string; schemeUri?: string; } = ...
publisher.lang?
Section titled “publisher.lang?”string = ...
publisher.name
Section titled “publisher.name”string = ...
publisher.publisherIdentifier?
Section titled “publisher.publisherIdentifier?”string = ...
publisher.publisherIdentifierScheme?
Section titled “publisher.publisherIdentifierScheme?”string = ...
publisher.schemeUri?
Section titled “publisher.schemeUri?”string = ...
relatedIdentifiers?
Section titled “relatedIdentifiers?”object[] = ...
relatedItems?
Section titled “relatedItems?”object[] = ...
rightsList?
Section titled “rightsList?”object[] = ...
sizes?
Section titled “sizes?”string[] = ...
subjects?
Section titled “subjects?”object[] = ...
suffix?
Section titled “suffix?”string = ...
tableSchema?
Section titled “tableSchema?”string | { $schema?: string; description?: string; foreignKeys?: object[]; missingValues?: (string | number | { label: string; value: string | number; })[]; primaryKey?: string[]; properties?: Record<string, { const?: number; default?: number[]; description?: string; enum?: number[]; examples?: number[]; exclusiveMaximum?: number; exclusiveMinimum?: number; format?: undefined; groupChar?: string; maximum?: number; minimum?: number; missingValues?: (string | number | { label: …; value: …; })[]; multipleOf?: number; rdfType?: string; title?: string; type: "integer"; withText?: boolean; } | { categories?: (number | { label: …; value: …; })[]; const?: number; default?: number[]; description?: string; enum?: number[]; examples?: number[]; exclusiveMaximum?: number; exclusiveMinimum?: number; format: "categorical"; groupChar?: string; maximum?: number; minimum?: number; missingValues?: (string | number | { label: …; value: …; })[]; multipleOf?: number; rdfType?: string; title?: string; type: "integer"; withOrder?: boolean; withText?: boolean; } | { const?: string; default?: string[]; delimiter?: string; description?: string; enum?: string[]; examples?: string[]; format: "list"; itemType?: "string" | "number" | "boolean" | "date" | "integer" | "date-time" | "time"; maxItems?: number; maxLength?: number; minItems?: number; minLength?: number; missingValues?: (string | { label: …; value: …; })[]; pattern?: string; rdfType?: string; title?: string; type: "string"; } | { const?: string; default?: string[]; description?: string; enum?: string[]; examples?: string[]; format: "base64"; maxLength?: number; minLength?: number; missingValues?: (string | { label: …; value: …; })[]; pattern?: string; rdfType?: string; title?: string; type: "string"; } | { const?: string; default?: string[]; description?: string; enum?: string[]; examples?: string[]; format: "hex"; maxLength?: number; minLength?: number; missingValues?: (string | { label: …; value: …; })[]; pattern?: string; rdfType?: string; title?: string; type: "string"; } | { const?: string; default?: string[]; description?: string; enum?: string[]; examples?: string[]; format: "email"; maxLength?: number; minLength?: number; missingValues?: (string | { label: …; value: …; })[]; pattern?: string; rdfType?: string; title?: string; type: "string"; } | { const?: string; default?: string[]; description?: string; enum?: string[]; examples?: string[]; format: "url"; maxLength?: number; minLength?: number; missingValues?: (string | { label: …; value: …; })[]; pattern?: string; rdfType?: string; title?: string; type: "string"; } | { const?: string; default?: string[]; description?: string; enum?: string[]; examples?: string[]; format: "date-time"; maxLength?: number; minLength?: number; missingValues?: (string | { label: …; value: …; })[]; pattern?: string; rdfType?: string; temporalFormat?: string; title?: string; type: "string"; } | { const?: string; default?: string[]; description?: string; enum?: string[]; examples?: string[]; format: "date"; maxLength?: number; minLength?: number; missingValues?: (string | { label: …; value: …; })[]; pattern?: string; rdfType?: string; temporalFormat?: string; title?: string; type: "string"; } | { const?: string; default?: string[]; description?: string; enum?: string[]; examples?: string[]; format: "time"; maxLength?: number; minLength?: number; missingValues?: (string | { label: …; value: …; })[]; pattern?: string; rdfType?: string; temporalFormat?: string; title?: string; type: "string"; } | { const?: string; default?: string[]; description?: string; enum?: string[]; examples?: string[]; format: "duration"; maxLength?: number; minLength?: number; missingValues?: (string | { label: …; value: …; })[]; pattern?: string; rdfType?: string; title?: string; type: "string"; } | { const?: string; default?: string[]; description?: string; enum?: string[]; examples?: string[]; format: "wkt"; maxLength?: number; minLength?: number; missingValues?: (string | { label: …; value: …; })[]; pattern?: string; rdfType?: string; title?: string; type: "string"; } | { const?: string; default?: string[]; description?: string; enum?: string[]; examples?: string[]; format: "wkb"; maxLength?: number; minLength?: number; missingValues?: (string | { label: …; value: …; })[]; pattern?: string; rdfType?: string; title?: string; type: "string"; } | { const?: string; default?: string[]; description?: string; enum?: string[]; examples?: string[]; format?: undefined; maxLength?: number; minLength?: number; missingValues?: (string | { label: …; value: …; })[]; pattern?: string; rdfType?: string; title?: string; type: "string"; } | { categories?: (string | { label: …; value: …; })[]; const?: string; default?: string[]; description?: string; enum?: string[]; examples?: string[]; format: "categorical"; maxLength?: number; minLength?: number; missingValues?: (string | { label: …; value: …; })[]; pattern?: string; rdfType?: string; title?: string; type: "string"; withOrder?: boolean; } | { const?: string; decimalChar?: string; default?: string[]; description?: string; enum?: string[]; examples?: string[]; exclusiveMaximum?: number; exclusiveMinimum?: number; format: "decimal"; groupChar?: string; maximum?: number; maxLength?: number; minimum?: number; minLength?: number; missingValues?: (string | { label: …; value: …; })[]; multipleOf?: number; pattern?: string; rdfType?: string; title?: string; type: "string"; withText?: boolean; } | { additionalProperties?: unknown; allOf?: unknown; anyOf?: unknown; const?: Record<string, unknown>; default?: Record<string, unknown>[]; dependencies?: unknown; dependentRequired?: unknown; dependentSchemas?: unknown; description?: string; else?: unknown; enum?: Record<string, unknown>[]; examples?: Record<string, unknown>[]; format: "geojson"; if?: unknown; maxProperties?: number; minProperties?: number; missingValues?: (string | { label: …; value: …; })[]; not?: unknown; oneOf?: unknown; patternProperties?: unknown; properties?: unknown; propertyNames?: unknown; rdfType?: string; required?: unknown; then?: unknown; title?: string; type: "object"; } | { additionalProperties?: unknown; allOf?: unknown; anyOf?: unknown; const?: Record<string, unknown>; default?: Record<string, unknown>[]; dependencies?: unknown; dependentRequired?: unknown; dependentSchemas?: unknown; description?: string; else?: unknown; enum?: Record<string, unknown>[]; examples?: Record<string, unknown>[]; format: "topojson"; if?: unknown; maxProperties?: number; minProperties?: number; missingValues?: (string | { label: …; value: …; })[]; not?: unknown; oneOf?: unknown; patternProperties?: unknown; properties?: unknown; propertyNames?: unknown; rdfType?: string; required?: unknown; then?: unknown; title?: string; type: "object"; } | { additionalProperties?: unknown; allOf?: unknown; anyOf?: unknown; const?: Record<string, unknown>; default?: Record<string, unknown>[]; dependencies?: unknown; dependentRequired?: unknown; dependentSchemas?: unknown; description?: string; else?: unknown; enum?: Record<string, unknown>[]; examples?: Record<string, unknown>[]; format?: undefined; if?: unknown; maxProperties?: number; minProperties?: number; missingValues?: (string | { label: …; value: …; })[]; not?: unknown; oneOf?: unknown; patternProperties?: unknown; properties?: unknown; propertyNames?: unknown; rdfType?: string; required?: unknown; then?: unknown; title?: string; type: "object"; } | { const?: boolean; default?: boolean[]; description?: string; enum?: boolean[]; examples?: boolean[]; falseValues?: string[]; format?: undefined; missingValues?: (string | number | { label: …; value: …; })[]; rdfType?: string; title?: string; trueValues?: string[]; type: "boolean"; } | { const?: number; decimalChar?: string; default?: number[]; description?: string; enum?: number[]; examples?: number[]; exclusiveMaximum?: number; exclusiveMinimum?: number; format?: undefined; groupChar?: string; maximum?: number; minimum?: number; missingValues?: (string | number | { label: …; value: …; })[]; multipleOf?: number; rdfType?: string; title?: string; type: "number"; withText?: boolean; } | { additionalItems?: unknown; allOf?: unknown; anyOf?: unknown; const?: unknown[]; contains?: unknown; default?: unknown[][]; description?: string; else?: unknown; enum?: unknown[]; examples?: unknown[][]; format?: undefined; if?: unknown; items?: unknown; maxContains?: number; maxItems?: number; minContains?: number; minItems?: number; missingValues?: (string | { label: …; value: …; })[]; not?: unknown; oneOf?: unknown; prefixItems?: unknown; rdfType?: string; then?: unknown; title?: string; type: "array"; uniqueItems?: boolean; } | { const?: unknown[]; default?: unknown[]; description?: string; enum?: unknown[][]; examples?: unknown[][]; format?: undefined; missingValues?: (string | { label: …; value: …; })[]; rdfType?: string; title?: string; type?: "null"; }>; required?: string[]; title?: string; uniqueKeys?: string[][]; } = ...
textual?
Section titled “textual?”boolean = ...
titles?
Section titled “titles?”object[] = ...
types?
Section titled “types?”{ resourceType?: string; resourceTypeGeneral: "Other" | "Audiovisual" | "Award" | "Book" | "BookChapter" | "Collection" | "ComputationalNotebook" | "ConferencePaper" | "ConferenceProceeding" | "DataPaper" | "Dataset" | "Dissertation" | "Event" | "Image" | "Instrument" | "InteractiveResource" | "Journal" | "JournalArticle" | "Model" | "OutputManagementPlan" | "PeerReview" | "PhysicalObject" | "Preprint" | "Project" | "Report" | "Service" | "Software" | "Sound" | "Standard" | "StudyRegistration" | "Text" | "Workflow"; } = ...
types.resourceType?
Section titled “types.resourceType?”string = ...
types.resourceTypeGeneral
Section titled “types.resourceTypeGeneral”"Other" | "Audiovisual" | "Award" | "Book" | "BookChapter" | "Collection" | "ComputationalNotebook" | "ConferencePaper" | "ConferenceProceeding" | "DataPaper" | "Dataset" | "Dissertation" | "Event" | "Image" | "Instrument" | "InteractiveResource" | "Journal" | "JournalArticle" | "Model" | "OutputManagementPlan" | "PeerReview" | "PhysicalObject" | "Preprint" | "Project" | "Report" | "Service" | "Software" | "Sound" | "Standard" | "StudyRegistration" | "Text" | "Workflow" = ...
unstable_customMetadata?
Section titled “unstable_customMetadata?”Record<string, unknown> = ...
version?
Section titled “version?”string = ...
Returns
Section titled “Returns”undefined | Record<string, unknown>[]