0.1.0 • Published 9 months ago

@lookit/data v0.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months ago

Data

This package will do the following:

  • Load data to be accessed while experiment is running.
  • Move data to and from CHS's API.
  • Move video content from the client computer to cloud storage.

Load

When an experiment begins, some data will be loaded for use during the experiment. This function is called before an experiment is ran and doesn't need to be called again.

await chsData.load(responseUuid);

Once this data has been loaded, it can be accessed on the window interface. The data should be structured as follows:

window.chs = {
  study,
  child,
  pastSessions,
  response,
};

For example, child information can be accessed at window.chs.child and can be used within your experiment.

0.1.0

9 months ago

0.0.4

9 months ago

0.0.3

9 months ago