- main(context)
Checks if CrUX's last month table already exists and, if it does, copies the data to your BigQuery's CrUX table
Checks if CrUX's month table already exists and, if it does, copies the data to your BigQuery's CrUX table
Kind: global function
Param | Type | Description |
---|---|---|
context | String |
Context in which the request will be executed |
- table_suffix()
Gets table suffix for the last month in CrUX's public dataset tables format
- check_rows()
Gets number of rows in your BigQuery's CrUX table
- check_table_crux()
Checks if last month's CrUX table already exists
- check_last_month()
Checks if last month's CrUX data has already been inserted in your BigQuery's CrUX table
- get_domains()
Gets list of URLs in the config.json file
- get_countries()
Gets list of countries in the config.json file
- update_crux_table()
Update your BigQuery's CrUX table
- crux_query(countries,domains,table_suffix)
Formats and executes query to retrieve data from CrUX's public dataset tables
Formats and executes query to retrieve data from CrUX's public dataset tables
Kind: global function
Param | Type | Description |
---|---|---|
countries | List |
List of countries |
domains | List |
List of URLs |
table_suffix | String |
Suffix of the CrUX table |