def load_examples(load_test_data): """Loads a set of Slices and Dashboards and a supporting dataset """ from superset import data print('Loading examples into {}'.format(db)) data.load_css_templates() print('Loading energy related dataset') data.load_energy() print("Loading [World Bank's Health Nutrition and Population Stats]") data.load_world_bank_health_n_pop() print('Loading [Birth names]') data.load_birth_names() print('Loading [Random time series data]') data.load_random_time_series_data() print('Loading [Random long/lat data]') data.load_long_lat_data() print('Loading [Country Map data]') data.load_country_map_data() print('Loading [Multiformat time series]') data.load_multiformat_time_series_data() print('Loading [Misc Charts] dashboard') data.load_misc_dashboard() if load_test_data: print('Loading [Unicode test data]') data.load_unicode_test_data()
def load_examples(load_test_data): """Loads a set of Slices and Dashboards and a supporting dataset """ print("Loading examples into {}".format(db)) data.load_css_templates() print("Loading energy related dataset") data.load_energy() print("Loading [World Bank's Health Nutrition and Population Stats]") data.load_world_bank_health_n_pop() print("Loading [Birth names]") data.load_birth_names() print("Loading [Random time series data]") data.load_random_time_series_data() print("Loading [Random long/lat data]") data.load_long_lat_data() print("Loading [Multiformat time series]") data.load_multiformat_time_series_data() print("Loading [Misc Charts] dashboard") data.load_misc_dashboard() if load_test_data: print("Loading [Unicode test data]") data.load_unicode_test_data()
def load_examples_run(load_test_data): print('Loading examples into {}'.format(db)) data.load_css_templates() print('Loading energy related dataset') data.load_energy() print("Loading [World Bank's Health Nutrition and Population Stats]") data.load_world_bank_health_n_pop() print('Loading [Birth names]') data.load_birth_names() print('Loading [Unicode test data]') data.load_unicode_test_data() if not load_test_data: print('Loading [Random time series data]') data.load_random_time_series_data() print('Loading [Random long/lat data]') data.load_long_lat_data() print('Loading [Country Map data]') data.load_country_map_data() print('Loading [Multiformat time series]') data.load_multiformat_time_series() print('Loading [Paris GeoJson]') data.load_paris_iris_geojson() print('Loading [San Francisco population polygons]') data.load_sf_population_polygons() print('Loading [Flights data]') data.load_flights() print('Loading [BART lines]') data.load_bart_lines() print('Loading [Multi Line]') data.load_multi_line() print('Loading [Misc Charts] dashboard') data.load_misc_dashboard() print('Loading DECK.gl demo') data.load_deck_dash() print('Loading [Tabbed dashboard]') data.load_tabbed_dashboard()
def load_examples_run(load_test_data): print('Loading examples into {}'.format(db)) data.load_css_templates() print('Loading energy related dataset') data.load_energy() print("Loading [World Bank's Health Nutrition and Population Stats]") data.load_world_bank_health_n_pop() print('Loading [Birth names]') data.load_birth_names() print('Loading [Unicode test data]') data.load_unicode_test_data() if not load_test_data: print('Loading [Random time series data]') data.load_random_time_series_data() print('Loading [Random long/lat data]') data.load_long_lat_data() print('Loading [Country Map data]') data.load_country_map_data() print('Loading [Multiformat time series]') data.load_multiformat_time_series() print('Loading [Paris GeoJson]') data.load_paris_iris_geojson() print('Loading [San Francisco population polygons]') data.load_sf_population_polygons() print('Loading [Flights data]') data.load_flights() print('Loading [BART lines]') data.load_bart_lines() print('Loading [Multi Line]') data.load_multi_line() print('Loading [Misc Charts] dashboard') data.load_misc_dashboard() print('Loading DECK.gl demo') data.load_deck_dash()
def load_examples(load_test_data): """Loads a set of Slices and Dashboards and a supporting dataset """ from superset import data print('Loading examples into {}'.format(db)) data.load_css_templates() print('Loading energy related dataset') data.load_energy() print("Loading [World Bank's Health Nutrition and Population Stats]") data.load_world_bank_health_n_pop() print('Loading [Birth names]') data.load_birth_names() print('Loading [Random time series data]') data.load_random_time_series_data() print('Loading [Random long/lat data]') data.load_long_lat_data() print('Loading [Country Map data]') data.load_country_map_data() print('Loading [Multiformat time series]') data.load_multiformat_time_series_data() print('Loading [Misc Charts] dashboard') data.load_misc_dashboard() print('Loading DECK.gl demo') data.load_deck_dash() print('Loading Paris geojson data') data.load_paris_iris_geojson() if load_test_data: print('Loading [Unicode test data]') data.load_unicode_test_data() print('Loading flights data') data.load_flights() print('Loading bart lines data') data.load_bart_lines()
def test_load_energy(self): data.load_energy()