API calls to replicate a 'df'