Open your Ubidots account.
Go to Devices → Devices. Once there, go into the device that contains the target variable and click on it.
Click on the settings button (represented by a cogwheel icon).
Click on "export data":
A window will appear requesting the following information:
Time frame to be exported (start and end date).
Recipients (email) to whom you wish to send the CSV file. To send the CSV to multiple emails, simply separate them using a comma.
The identifier of the variable you want to export: Label, ID, or name.
The timezone that will be applied to the date and hour of the data.
The columns of the variable you want to export. It is a multiple selection field, that has all options selected by default. You can choose if you want to export:
Click on “OK” to complete the process.
Data exports can take a while depending on the size of your dataset. To track the data export progress, click on the upper right notification icon, where you'll also be able to download your CSV file: