CTPy-21 Script to pull data from database into data frame for R analysis

script which uses mongoexport to create CSV files.  This may be sufficient for my purposes, but am prepared to find that the largest data sets might require something more direct.