Hmm, I need to put all the data into a "flat-file" view
DT[i, j, by] DT[WHERE | JOIN | ORDER , SELECT | UPDATE , GROUP][...]
setkey
Y[X]
to join Y on to X# Specify the columns to join by setkey(Order , TerritoryID) setkey(Territory , TerritoryID) # Reads as join Territory to the Order table # Seperate table so we don't have to start again OrderTerritory <- Territory[Order]
# Specify the columns to join by setkey(OrderTerritory , CountryRegionCode) setkey(Region , CountryRegionCode) # Reads as join Region to the OrderTerritory table # Will overwrite as it's our desired state OrderTerritory <- Region[OrderTerritory]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.