DataProducts SQL and R Code