prepare_body: Prepare body for FaaS modeling

View source: R/prepare_body.R

prepare_bodyR Documentation

Prepare body for FaaS modeling

Description

This function will prepare the encoded body to be sent via api.

Usage

prepare_body(
  data_list,
  date_variable,
  date_format,
  model_spec,
  project_name,
  user_email,
  user_model
)

Arguments

data_list

list with named datasets to be modeled.

date_variable

name of variable with date information in all datasets in data_list.

date_format

format of date_variable in all datasets in data_list.

model_spec

list with modeling and cross validation setup.

project_name

project name. A string with character and/or numeric inputs that should be at most 50 characters long. Special characters will be removed.

user_email

email to receive the outputs.

user_model

list containing the models constraints to create a model customized by the user.

Details

DETAILS

Value

Encoded and compressed body to send the request.

See Also

base64encode & base64decode memCompress toJSON, fromJSON

Examples

## Not run: 
if(interactive()){
 #EXAMPLE1
 }

## End(Not run)

4intelligence/faas4i documentation built on April 14, 2025, 2:09 a.m.