Function: prepareCosmographData()

prepareCosmographData(config, pointsData, linksData?): Promise<undefined | CosmographDataPrepResult<CosmographData>>

Prepares the Cosmograph data in the Arrow format and Cosmograph configuration object for this data.

Parameters

ParameterTypeDescription
configCosmographDataPrepConfigThe configuration for preparing the Cosmograph data.
pointsDataDataThe data for the Cosmograph points.
linksData?DataThe data for the Cosmograph links (optional).

Returns

Promise<undefined | CosmographDataPrepResult<CosmographData>>

The prepared Cosmograph data in the Arrow format, or undefined if the preparation failed.