Data Sources
Description
A data source is a way of importing data into Chouette with :
standard formats (GTFS, NeTex, Neptune)
choice of retrieval frequency
many different types of data source
Consult data sources
You can consult the list of data sources created by your organization in "Workbench > Data sources" :
For each data source:
name
URL used
Updated at
are displayed.
Creation of a data source
By clicking on the "Create a Data Source" button, you access the form for editing a new data source:
You must put a name to your Data Source, its URL and the download type.
You can choose between 3 types of downloads:
Direct: when the URL can be directly used to download the file
French NAP: when the URL refers to a data set on the National Open Access Point for Transportation Data page
SFTP : when the file is on an SFTP URL. If necessary, the user can indicate the username and password in the URL :
sftp://user:password@host/path/file
FTP: when the file is on an FTP URL. If necessary, the user can indicate the username and password in the URL:
ftp://user:password@host/path/file
Authentication header: when the URL uses an HTTP authorization
For the latter, the user can provide the value of the authentication header:
Automatic Retrieval
The user can set retrieval options on his data source.
He can set a retrieval once per hour, daily with a set time, or disable automatic retrieval.
Import options
When data is retrieved from the source, an import is automatically launched.
On this page, the user can set import options:
You can define a filter to select the lines to be imported by specifying the route_id in the dedicated field:
To learn more about the import options, see the page:Imports
Manual Retrieval
Once the data source is created, it is possible to launch a manual retrieval of the data.
On the data source page, simply click on “Retrieve Now”. A retrieval will be launched independently of the automatic recovery options set.