🔌Setting up a Google Sheets connector
Google Sheets Connector
This connector is used to retrieve data from a Google spreadsheet.
Add a Google sheets connection
As soon as you click on the connector icon, you will be redirected by google to sign in to your account, in order to access to your google sheet. If not click on the button
GRANT AUTHORIZATION
to display the windowAfter logging in, you shall be redirected back to Toucan, where you will have the required attributes automatically filled by Toucan.
fill the fields necessary
Name (mandatory)
String
Use it to identify your connection
MyGoogleSheetsConnection
Retry Policy (optional)
Boolean
Boolean allows to configure a retry policy if the connection is flaky.
max attempts: maximum number of retries before giving up
max_delay: in seconds, above the connection is dropped
wait_time: time in seconds between each retry
Slow Queries' Cache Expiration Time (optional)
Integer
Slow queries' cache expiration time in seconds
Now, click on the
SAVE
button
After successfully configuring the connector, you will be able to find it in the Connector section of the DataHub "Datasource" tab
Create a dataset from a Google sheets connection
This connector does not support Excel files (.xls, .xlsx, etc.) saved on Google Drive.
In the Edit datasource section
ID OF THE SPREADSHEET
(mandatory): string, Fill this field with the spreadsheet id which can be found in the url to access your google spreadsheet after thehttps://docs.google.com/spreadsheets/d/
(For example if your URL ishttps://docs.google.com/spreadsheets/d/a98db973kwl8xp1lz94kjf0bma5pez8c
then the id isa98db973kwl8xp1lz94kjf0bma5pez8c)
SHEET TITLE
(optional): string, title of the sheet you want to get, once you have fill your spreadsheet id, we will get all the sheet that exist and they will be displayed in a dropdownHEADER ROW
(optional): int, default to 0. Row of the header of the spreadsheetDates as float
(optional): boolean, render date as float or string from the sheet true by default
Once you have fill all the necessary fields, you can click on
PREVIEW
to see the data Toucan will get from your Google sheetsVALIDATE
, your data will be created and you will redirected to the YouPrep interface
After selecting data from your connector you will be able to create a dataset thanks to YouPrep using the selection as "source step".
Last updated
Was this helpful?