You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on my experimentation with xtsAttributes and looking at the documentation, it looks like setting attributes on an xts are global attributes for all values in the matrix?
What I'd like to do is be able to set xtsAttributes(my_xts) <- (tag_key = my_tags), where nrows(my_xts) == nrows(my_tags) so that every item in my_xts has a different value for the same tag_key.
This is easy to do in influxdb-python where the column of a data frame can be specific as a tag column in the influx_write function.
The text was updated successfully, but these errors were encountered:
Based on my experimentation with
xtsAttributes
and looking at the documentation, it looks like setting attributes on an xts are global attributes for all values in the matrix?What I'd like to do is be able to set
xtsAttributes(my_xts) <- (tag_key = my_tags)
, wherenrows(my_xts) == nrows(my_tags)
so that every item inmy_xts
has a different value for the sametag_key
.This is easy to do in influxdb-python where the column of a data frame can be specific as a tag column in the
influx_write
function.The text was updated successfully, but these errors were encountered: