convertPackageToCkan
convertPackageToCkan(
dataPackage):object
Defined in: ckan/package/convert/toCkan.ts:8
Parameters
Section titled “Parameters”dataPackage
Section titled “dataPackage”Returns
Section titled “Returns”author?
Section titled “author?”
optionalauthor:string
Package author
author_email?
Section titled “author_email?”
optionalauthor_email:string
Package author email
optionalid:string
Package identifier
license_id?
Section titled “license_id?”
optionallicense_id:string
License identifier
license_title?
Section titled “license_title?”
optionallicense_title:string
License title
license_url?
Section titled “license_url?”
optionallicense_url:string
License URL
maintainer?
Section titled “maintainer?”
optionalmaintainer:string
Package maintainer
maintainer_email?
Section titled “maintainer_email?”
optionalmaintainer_email:string
Package maintainer email
metadata_created?
Section titled “metadata_created?”
optionalmetadata_created:string
Metadata creation timestamp
metadata_modified?
Section titled “metadata_modified?”
optionalmetadata_modified:string
Metadata modification timestamp
optionalname:string
Package name
notes?
Section titled “notes?”
optionalnotes:string
Package notes/description
organization?
Section titled “organization?”
optionalorganization:CkanOrganization
Organization information
resources
Section titled “resources”resources:
CkanResource[]
List of resources
tags:
CkanTag[]
List of tags
title?
Section titled “title?”
optionaltitle:string
Package title
version?
Section titled “version?”
optionalversion:string
Package version