EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

Parameters Explained: mstrio for R - Create Dataset


Community Admin

• Strategy


This article explains what each parameter is in the create_dataset () function of mstrio for R.

Creating datasets in Strategy with R requires the create_dataset () function from the mstrio R package.  This function has 4 required parameters and 2 optional parameters.
Required:

  • connection - this is a connection object that is passed in to all functions when using mstrio for R
  • data_frame - this is a dataframe object from which an in-memory
  • dataset_name - this is a string object that will create the name of the dataset
  • table_name - this is a string object that will create the name of the table


Optional:

  • to_metric - a vector of column names from the dataframe that will be formatted as metrics in the created dataset.  By default, numeric types are formatted as metrics while character and date types are formatted as attributes.
  • to_attribute - the logical opposite of to_metric


KB442338


Comment

0 comments

Details

Knowledge Article

Published:

November 29, 2018

Last Updated:

November 29, 2018