-- DBMS: bigquery
CREATE TABLE `firebase-public-project.analytics_153293282.events_20180701`
(
  event_date STRING,
  event_timestamp INT64,
  event_name STRING,
  event_params ARRAY<STRUCT<key STRING, value STRUCT<string_value STRING, int_value INT64, float_value FLOAT64, double_value FLOAT64>>>,
  event_previous_timestamp INT64,
  event_value_in_usd FLOAT64,
  user_id STRING,
  user_pseudo_id STRING,
  user_properties ARRAY<STRUCT<key STRING, value STRUCT<string_value STRING, int_value INT64, float_value FLOAT64, double_value FLOAT64, set_timestamp_micros INT64>>>,
  user_first_touch_timestamp INT64,
  user_ltv STRUCT<revenue FLOAT64, currency STRING>,
  device STRUCT<category STRING, mobile_brand_name STRING, mobile_model_name STRING, mobile_marketing_name STRING, mobile_os_hardware_model STRING, operating_system STRING, operating_system_version STRING, vendor_id STRING, advertising_id STRING, language STRING, is_limited_ad_tracking STRING, time_zone_offset_seconds INT64>,
  geo STRUCT<continent STRING, country STRING, region STRING, city STRING>,
  app_info STRUCT<id STRING, version STRING, install_store STRING, firebase_app_id STRING, install_source STRING>,
  traffic_source STRUCT<name STRING, medium STRING, source STRING>,
  stream_id STRING,
  platform STRING
);

INSERT INTO `firebase-public-project.analytics_153293282.events_20180701` (event_date, event_timestamp, event_name, event_params, event_previous_timestamp, event_value_in_usd, user_id, user_pseudo_id, user_properties, user_first_touch_timestamp, user_ltv, device, geo, app_info, traffic_source, stream_id, platform) VALUES ('20180701', 1530484313289000, 'screen_view', '[{''key'': ''firebase_screen_class'', ''value'': {''string_value'': ''MainMenuActivity'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_event_origin'', ''value'': {''string_value'': ''auto'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_screen_id'', ''value'': {''string_value'': None, ''int_value'': -9206538158164320592, ''float_value'': None, ''double_value'': None}}]', 1530241572435000, nan, NULL, '0AF67C1A1C8F3785609B4210C3E04FC8', '[{''key'': ''ad_frequency'', ''value'': {''string_value'': ''16'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1498873315027000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''10'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1498873315027000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1506918861730000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1530484312936000}}
 {''key'': ''firebase_last_notification'', ''value'': {''string_value'': ''3672026032150123458'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1516647673061000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1530241569867000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1498873328463000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1530241569866000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1498873240150000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1498873312150000}}]', 1498873240150000, NULL, {'category': 'mobile', 'mobile_brand_name': 'not available in demo dataset', 'mobile_model_name': 'not available in demo dataset', 'mobile_marketing_name': 'not available in demo dataset', 'mobile_os_hardware_model': 'not available in demo dataset', 'operating_system': 'ANDROID', 'operating_system_version': 'not available in demo dataset', 'vendor_id': None, 'advertising_id': None, 'language': 'en-us', 'is_limited_ad_tracking': 'No', 'time_zone_offset_seconds': -18000}, {'continent': 'Americas', 'country': 'United States', 'region': None, 'city': None}, {'id': 'com.labpixies.flood', 'version': '2.62', 'install_store': None, 'firebase_app_id': '1:300830567303:android:9b9ba2ce17104d0c', 'install_source': 'com.android.vending'}, {'name': '(direct)', 'medium': '(none)', 'source': '(direct)'}, '1051193346', 'ANDROID'), ('20180701', 1530484288504003, 'user_engagement', '[{''key'': ''firebase_screen_class'', ''value'': {''string_value'': ''main_menu'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_event_origin'', ''value'': {''string_value'': ''auto'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_screen_id'', ''value'': {''string_value'': None, ''int_value'': -9206538158164320591, ''float_value'': None, ''double_value'': None}}
 {''key'': ''engagement_time_msec'', ''value'': {''string_value'': None, ''int_value'': 4215, ''float_value'': None, ''double_value'': None}}]', 1530241573418003, nan, NULL, '0AF67C1A1C8F3785609B4210C3E04FC8', '[{''key'': ''ad_frequency'', ''value'': {''string_value'': ''16'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1498873286027000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''10'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1498873286027000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1506918832730000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1530484283936000}}
 {''key'': ''firebase_last_notification'', ''value'': {''string_value'': ''3672026032150123458'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1516647644061000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1530241540867000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1498873299463000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1530241540866000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1498873240150000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1498873283150000}}]', 1498873240150000, NULL, {'category': 'mobile', 'mobile_brand_name': 'not available in demo dataset', 'mobile_model_name': 'not available in demo dataset', 'mobile_marketing_name': 'not available in demo dataset', 'mobile_os_hardware_model': 'not available in demo dataset', 'operating_system': 'ANDROID', 'operating_system_version': 'not available in demo dataset', 'vendor_id': None, 'advertising_id': None, 'language': 'en-us', 'is_limited_ad_tracking': 'No', 'time_zone_offset_seconds': -18000}, {'continent': 'Americas', 'country': 'United States', 'region': None, 'city': None}, {'id': 'com.labpixies.flood', 'version': '2.62', 'install_store': None, 'firebase_app_id': '1:300830567303:android:9b9ba2ce17104d0c', 'install_source': 'com.android.vending'}, {'name': '(direct)', 'medium': '(none)', 'source': '(direct)'}, '1051193346', 'ANDROID'), ('20180701', 1530493994131017, 'post_score', '[{''key'': ''level_name'', ''value'': {''string_value'': ''level_0'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_screen_class'', ''value'': {''string_value'': ''game_board'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}
 {''key'': ''level'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 0.0}}
 {''key'': ''time'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 0.0}}
 {''key'': ''score'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 0.0}}
 {''key'': ''firebase_event_origin'', ''value'': {''string_value'': ''app+gtm'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_screen_id'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': -6.250030147534671e+18}}]', 1529931173259017, nan, NULL, '525E3BEE74AD824923CC04FE45E45B40', '[{''key'': ''ad_frequency'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1481415817844000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''5'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1476659380644000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1473814985636000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1530493956589000}}
 {''key'': ''firebase_last_notification'', ''value'': {''string_value'': ''4857993083614758445'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1494808452230000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1476659884090000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''0'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528585193598000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1473814855637000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1473814843637000}}]', 1473814855637000, NULL, {'category': 'mobile', 'mobile_brand_name': 'not available in demo dataset', 'mobile_model_name': 'not available in demo dataset', 'mobile_marketing_name': 'not available in demo dataset', 'mobile_os_hardware_model': 'not available in demo dataset', 'operating_system': 'ANDROID', 'operating_system_version': 'not available in demo dataset', 'vendor_id': None, 'advertising_id': None, 'language': 'en-us', 'is_limited_ad_tracking': 'Yes', 'time_zone_offset_seconds': -25200}, {'continent': 'Americas', 'country': 'United States', 'region': None, 'city': None}, {'id': 'com.labpixies.flood', 'version': '2.62', 'install_store': None, 'firebase_app_id': '1:300830567303:android:9b9ba2ce17104d0c', 'install_source': 'com.android.vending'}, {'name': '(direct)', 'medium': '(none)', 'source': '(direct)'}, '1051193346', 'ANDROID'), ('20180701', 1530494095262011, 'post_score', '[{''key'': ''level_name'', ''value'': {''string_value'': ''level_0'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_screen_class'', ''value'': {''string_value'': ''game_board'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}
 {''key'': ''level'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 0.0}}
 {''key'': ''time'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 0.0}}
 {''key'': ''score'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 2.0}}
 {''key'': ''firebase_event_origin'', ''value'': {''string_value'': ''app+gtm'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_screen_id'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 5.469024288709228e+17}}]', 1530493925131011, nan, NULL, '525E3BEE74AD824923CC04FE45E45B40', '[{''key'': ''ad_frequency'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1481415777844000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''5'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1476659340644000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1473814945636000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1530494055136000}}
 {''key'': ''firebase_last_notification'', ''value'': {''string_value'': ''4857993083614758445'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1494808412230000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1476659844090000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''0'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528585153598000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1473814855637000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1473814803637000}}]', 1473814855637000, NULL, {'category': 'mobile', 'mobile_brand_name': 'not available in demo dataset', 'mobile_model_name': 'not available in demo dataset', 'mobile_marketing_name': 'not available in demo dataset', 'mobile_os_hardware_model': 'not available in demo dataset', 'operating_system': 'ANDROID', 'operating_system_version': 'not available in demo dataset', 'vendor_id': None, 'advertising_id': None, 'language': 'en-us', 'is_limited_ad_tracking': 'Yes', 'time_zone_offset_seconds': -25200}, {'continent': 'Americas', 'country': 'United States', 'region': None, 'city': None}, {'id': 'com.labpixies.flood', 'version': '2.62', 'install_store': None, 'firebase_app_id': '1:300830567303:android:9b9ba2ce17104d0c', 'install_source': 'com.android.vending'}, {'name': '(direct)', 'medium': '(none)', 'source': '(direct)'}, '1051193346', 'ANDROID'), ('20180701', 1530494234072011, 'post_score', '[{''key'': ''level_name'', ''value'': {''string_value'': ''level_0'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_screen_class'', ''value'': {''string_value'': ''game_board'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}
 {''key'': ''level'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 0.0}}
 {''key'': ''time'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 0.0}}
 {''key'': ''score'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 3.0}}
 {''key'': ''firebase_event_origin'', ''value'': {''string_value'': ''app+gtm'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_screen_id'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 1.6011440730715443e+18}}]', 1530494066262011, nan, NULL, '525E3BEE74AD824923CC04FE45E45B40', '[{''key'': ''ad_frequency'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1481415777844000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''5'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1476659340644000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1473814945636000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1530494200874000}}
 {''key'': ''firebase_last_notification'', ''value'': {''string_value'': ''4857993083614758445'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1494808412230000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1476659844090000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''0'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528585153598000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1473814855637000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1473814803637000}}]', 1473814855637000, NULL, {'category': 'mobile', 'mobile_brand_name': 'not available in demo dataset', 'mobile_model_name': 'not available in demo dataset', 'mobile_marketing_name': 'not available in demo dataset', 'mobile_os_hardware_model': 'not available in demo dataset', 'operating_system': 'ANDROID', 'operating_system_version': 'not available in demo dataset', 'vendor_id': None, 'advertising_id': None, 'language': 'en-us', 'is_limited_ad_tracking': 'Yes', 'time_zone_offset_seconds': -25200}, {'continent': 'Americas', 'country': 'United States', 'region': None, 'city': None}, {'id': 'com.labpixies.flood', 'version': '2.62', 'install_store': None, 'firebase_app_id': '1:300830567303:android:9b9ba2ce17104d0c', 'install_source': 'com.android.vending'}, {'name': '(direct)', 'medium': '(none)', 'source': '(direct)'}, '1051193346', 'ANDROID');