@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Regression analysis api
@base https://services.scideas.net
@version 1.0
@endpoints 1
@toc regression(1)

@endpoint POST /regression/api
@desc Returns regression analysis.
@required {key: str # api key, outcome_variable: str # name of the desired outcome variable, data: [map]}
@optional {ignore_variables: [map], convert_date_to: str # convert dates to either month (1-12) or week (1-52)}
@returns(200) A JSON array of data

@end
