updateTable: Update a specific table (V3)

Description Usage Arguments Value

View source: R/updateTable.R

Description

Updates a table using a dataframe.

This function uses the V3 version of the API.

Usage

1
2
3
updateTable(apiKey, tableId, numetricName, dataframeName,
  category = "New Data", primaryKey, geoshapes = "", geopoints = "",
  boolean = "")

Arguments

apiKey

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

tableId

The id, in quotes, of a table in the Data Warehouse.

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

The name of the column, 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.

Value

Numetric Id


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