createTable: Create a new table (V3)

Description Usage Arguments Value

View source: R/createTable.R

Description

Create a new table in a Numetric Org.

This function uses the V3 version of the API.

Usage

1
2
3
createTable(apiKey, numetricName, dataframeName, category = "New Data",
  primaryKey, geoshapes = "", geopoints = "", boolean = "",
  everyone = "false")

Arguments

apiKey

You can find the API key in the settings after logging into Numetric

numetricName

The name, in quotes, given to the dataset in the Numetric Warehouse.

dataframeName

The name, without quotes, of the dataframe that will be used to create the dataset in Numetric.

category

The category, in quotes, given to the dataset in the Numetric Warehouse.

primaryKey

A vector with the column name(s), in quotes, that will be used as the primary key. Each row should have a unique id, otherwise, the last row indexed will be the one saved.

geoshapes

The column name, or vector of column names, in quotes, that will be stored as a geoShape (point on a map). This needs to be in the format, "lat,long".

geopoints

The column name, or vector of column names, in quotes, that will be stored as a geoPoint (for heatmaps). This needs to be in the format, "lat,long".

boolean

The column name, or vector of column names, in quotes, that will be stored as True/False. True = 1, False = 0.

everyone

Defaults to "false". If set to "true", then it will allow everyone in the org to see the dataset.

Value

Numetric Id


RonGuymon/numetricAPI documentation built on May 6, 2019, 10:12 a.m.