query_timeseries_data_table_py: Query table using a timestamp variable as sorting key

View source: R/dynamodb_python.R

query_timeseries_data_table_pyR Documentation

Query table using a timestamp variable as sorting key

Description

Query table using a timestamp variable as sorting key

Usage

query_timeseries_data_table_py(
  dynamo_table,
  partition_key_name,
  partition_key_values,
  sort_key_name,
  start_date,
  end_date,
  tzone = "Europe/Paris",
  query_interval_days = 30,
  milliseconds = T,
  parse = T
)

Arguments

dynamo_table

boto3 DynamoDB Table obtained with get_dynamo_table function

partition_key_name

character, name of the partiton key of the DynamoDB Table. It has to be a string variable.

partition_key_values

vector of values of the partiton key of the DynamoDB Table

sort_key_name

character, name of the sorting key of the DynamoDB Table. It has to be a numeric variable.

start_date

Date, start date

end_date

Date, end date

tzone

character, time zone of the timeseries data

query_interval_days

integer, number of days of each query interval

milliseconds

logical, whether the sorting key is a timestamp in milliseconds or not

parse

logical, whether to parse Python objects to R objects

Value

tibble


mcanigueral/dutils documentation built on Jan. 25, 2024, 3:34 p.m.