@@ -150,7 +150,7 @@ def main(df):
150150 group by postal_code
151151 """ ,
152152 ),
153- # We use the data provided by Cybersyn to limit our pipeline to US cities with atleast
153+ # We use the data provided by Snowflake Public Data to limit our pipeline to US cities with atleast
154154 # 100k residents to enjoy all the benefits a big city provides during our vacation.
155155 View (
156156 name = "major_us_cities" ,
@@ -164,10 +164,10 @@ def main(df):
164164 geo.geo_id,
165165 geo.geo_name,
166166 max(ts.value) total_population
167- from global_government.cybersyn.datacommons_timeseries ts
168- join global_government.cybersyn.geography_index geo
167+ from SNOWFLAKE_PUBLIC_DATA_FREE.PUBLIC_DATA_FREE.DATACOMMONS_TIMESERIES ts
168+ join SNOWFLAKE_PUBLIC_DATA_FREE.PUBLIC_DATA_FREE.GEOGRAPHY_INDEX geo
169169 on ts.geo_id = geo.geo_id
170- join global_government.cybersyn.geography_relationships geo_rel
170+ join SNOWFLAKE_PUBLIC_DATA_FREE.PUBLIC_DATA_FREE.GEOGRAPHY_RELATIONSHIPS geo_rel
171171 on geo_rel.related_geo_id = geo.geo_id
172172 where true
173173 and ts.variable_name = 'Total Population, census.gov'
@@ -179,7 +179,7 @@ def main(df):
179179 order by total_population desc
180180 """ ,
181181 ),
182- # Using the geography relationships provided by Cybersyn we collect all the
182+ # Using the geography relationships provided by Snowflake Public Data we collect all the
183183 # zip codes belonging to a city.
184184 View (
185185 name = "zip_codes_in_city" ,
@@ -195,8 +195,8 @@ def main(df):
195195 city.geo_name city_geo_name,
196196 city.related_geo_id zip_geo_id,
197197 city.related_geo_name zip_geo_name
198- from us_addresses__poi.cybersyn.geography_relationships country
199- join us_addresses__poi.cybersyn.geography_relationships city
198+ from SNOWFLAKE_PUBLIC_DATA_FREE.PUBLIC_DATA_FREE.GEOGRAPHY_RELATIONSHIPS country
199+ join SNOWFLAKE_PUBLIC_DATA_FREE.PUBLIC_DATA_FREE.GEOGRAPHY_RELATIONSHIPS city
200200 on country.related_geo_id = city.geo_id
201201 where true
202202 and country.geo_id = 'country/USA'
0 commit comments