Created
January 14, 2019 16:34
-
-
Save Tristramg/8160ab975f5a78ee2228d91b533524b2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WITH grenoble AS ( | |
SELECT id from dataset where spatial = 'Grenoble-Alpes Métropole' | |
) | |
INSERT into resource | |
(dataset_id, url, format, title) | |
SELECT grenoble.id, resource.* FROM (VALUES | |
('https://app-be8e53a7-9b77-4f95-bea0-681b97077017.cleverapps.io/gtfs_rt', 'gtfs-rt', 'Flux temps réel GTFS RT'), | |
('https://app-be8e53a7-9b77-4f95-bea0-681b97077017.cleverapps.io/', 'siri-lite', 'API temps réel Siri Lite') | |
) as resource, grenoble; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment