Functions are Ready to Use!
β
You can call ANY public BigFunction without install
The functions are deployed in 39 public datasets (one dataset per region) so that you can call them without install.
β
You can also deploy the public BigFunctions
You can deploy public BigFunctions (or your own) in your GCP project with a single command using BigFunctions framework.
Function CategoriesΒΆ
β¬οΈ Load Data (24 functions)ΒΆ
There are 2 types pof load functions:
getfunctions enable toselectexternal data in aselectstatement.loadfunctions enable toloaddata into a destination table.
βοΈ Public Services
exchange_rate: Getexchange_rateget_appstore_reviews: GET Apple App Store Reviews of an appget_github_data: Get data frompublic_repointodestination_datasetget_meteo: Getmeteoget_playstore_reviews: GET Google Play Store Reviews of an appget_transport_emissions: Get the transport CO2 emissions given thedistance_kmlist_public_datasets: Returns list of BigQuerypublic_datasetsload_google_trends: Load daily Google Trends
π Web Data
get: Requesturlget_data_from_apify: Get data using an apifyactor.get_webpage_data: Extractdatafromurlusingpromptget_webpage_metadata: Get webpage metadataget_webpage_structured_data: Get webpage Structured Dataload_duckdb_database: Download duckdb database intodestination_datasetload_file: Download web file intodestination_table
βοΈ SAAS Data
get_json: GET jsondatafromurlload_pinterest_report: Download Daily Pinterest Custom Reportload_pinterest_report_into_temp_dataset: Download Pinterest Custom Reportload_saas_data: Load SAAS data from 250+ sources using the Python Connectors of Airbyte
Generate
faker: Generates fake data
π₯ Transform (100 functions)ΒΆ
π§ AI
ask_ai: Ask Anything!ask_appstore_reviews: Ask AI what your app users think.ask_my_data: Ask your data anyquestionin natural language.categorize: Categorizeitemsin categories and subcategories.generate_categories: Returncategoriesofitems.generate_face_embedding: Detect Face on image and Generate its Embeddinggenerate_sql: Transformquestionto a SQL query.
π§ Machine Learning
precision_recall_auc: Returns the Area Under the Precision Recall Curve (a.k.a. AUC PR)precision_recall_curve: Returns the Precision-Recall Curveprophet: Return Time Series Forecast as json using prophetprophet_table: Return Time Series Forecast as table using prophetroc_auc: Returns the Area Under the Receiver Operating Characteristic Curve (a.k.a. ROC AUC)roc_curve: Returns the Receiver Operating Characteristic Curve (a.k.a. ROC Curve)sentiment_score: Compute sentiment score ofcontent
πΆ GA4
create_ga4_views: Create views to help querying GA4 Data
π Graph
connected_components: Compute the connected components of a non-directed graph.
π Transform Geo Data
geocode: Getaddressdetails from Google Mapsgeocode_fr: Getaddressdetails from api-adresse.data.gouv.frh3: Wrapper around Uber H3reverse_geocode: Get address details atlatitude,longitudevalidate_address: Validateaddressusing Google Maps
{...} Transform Json
create_materialized_view_w_flattened_json_column: Create a Materialized view of a table withjson_columnflatteneditems2json: Returnsjsonobject from array ofkey_value_itemsjson_column_schema: Returns the schema of a json columnjson_items: Extractkey_value_itemsfromjson_stringjson_keys: Extractkeysfromjson_stringjson_merge: Mergejson_string1andjson_string2json_query: Extract data fromjson_stringusing advanced json queryingjson_schema: Returns the schema ofdatajson_values: Extractvaluesfromjson_stringsql_to_flatten_json_column: Generate the SQL to flatten a jsoncolumn
π¨ Convert Data Format
html2pdf: Converthtmltopdfjson2excel: Dump data to excel filejson2xml: Returns XML for given JSON stringmarkdown2html: Convertmarkdowntohtmlxml2json: Returns JSON as a string for given XML string
Transform Ip
ip2asn: Getasnofipip2continent: Getcontinent_codeofipip2continent_name: Getcontinentofipip2country: Getcountry_codeofipip2country_name: Getcountry_nameofipip_range2ip_networks: Convert an IP range into a json list of IP networks in CIDR notation
π Transform Date
date_sub_isoyear: Returns same dayyearsbeforegenerate_dates: Generate a table of datesgregorian2hijri: Convert Gregorian Date to Hijri Date (taken from here)is_public_holiday: Return true ifdatecorresponds to a public holiday incountry_codeparse_date: Parse date with automatic format detectiontranslated_month_name: Gettranslated_month_nametranslated_weekday_name: Gettranslated_weekday_name
β¨ Transform String
camel2snake: Convertstringfrom camelCase to snake_caseconvert_non_ascii_characters_to_unicode_escape_sequences: Replace all non ASCII characters with escape unicodedeidentify: Masks sensitive information of typeinfo_typesintextdetect_language: Detectstextlanguagedetect_sensitive_info: Detect sensitive information intextis_email_valid: Return true ifemailis validis_phone_number_valid: Return ifphone_numberis validngram_frequency_similarity: Calculates n-gram similarity between two stringsparse_url: Returnurlpartsparse_user_agent: Parses User Agent strings into several componentsphone_number_info: Getphone_numberinforemove_accents: Remove accentsremove_extra_whitespaces: Remove unwanted whitespacesremove_strings: Remove any string ofstrings_to_removefromstringremove_words: Remove any word ofwords_to_removefromstringrender_handlebars_template: Render template with context using handlebars.js templating libraryrender_template: Render template with context using nunjucks.js templating libraryreplace_special_characters: Replace most common special characters in astringwithreplacementtranslate: Translatetextintotarget_languageurl_decode: Decodeurl_encoded_stringxml_extract: Returns content extracted from XML from given XPATH
[...] Transform Array
are_arrays_equal: Return true ifarray1=array2array_contains: Returnstrueifvalueis in arrayarrelse returnsfalsearray_intersect: Returns the intersection of two arrays.array_union: Returns the union of two arrays.benford_distance: Calculate the distance from Benford's Law for givenvalues.distinct_values: Return distinct valuesfind_greater_value: Return theoffset(zero-based index) of the firstvalueinarrwherevalue >= xfind_lower_value: Return theoffset(zero-based index) of the firstvalueinarrwherevalue <= xfind_value: Return the firstoffset(zero-based index) ofvaluein arrayarrfrequent_values: Returnsfrequent_valuesamong array ofvaluesget_value: Return the firstvaluewith a keysearch_keyfromkey_value_itemslast_value: Return last value of arraymax_value: Return max value of arraymedian_value: Return median value of arraymin_max_scaler: Performs min-max scaling on an array.min_value: Return min value of arraypercentile_value: Returns percentile of an array with percentile a float in range [0, 1].rare_values: Returnsrare_valuesamong array ofvaluesremove_value: Return an array with all values exceptvalue.sort_values: Return sorted array (ascending)sort_values_desc: Return sorted array (descending)sum_values: Return the sum of array valuesz_scores: Computez_scores
1οΈβ£ Transform Numeric
compute_linear_regression_coefficients: Returns linear regression coefficients fromx,ycolumns.format_percentage: Returnfirst_number / second_numberas a formatted percentagenps: Returns the NPS (Net Promoter Score)quantize_into_bins: Get thebin_rangein which belongsvaluequantize_into_bins_with_labels: Get thelabelof the bin in which belongsvaluequantize_into_fixed_width_bins: Get thebin_rangein which belongsvalueweighted_average: Returns the weigthed average elements.
π Take Actions (22 functions)ΒΆ
π¨ Trigger Event
refresh_powerbi: Refresh a Power BI dataset (semantic model)refresh_tableau: Refresh a tableau datasource or workbooktrigger_dataform: Triggers a Dataform workflow in the specified project, location, repository and workspace.
Unytics
_export_table_to_unytics: Creates a temp dataset inbigfunctionsprojectcreate_temp_dataset: Creates a temp dataset inbigfunctionsprojectexport_table_to_unytics: Creates a temp dataset inbigfunctionsproject
π Export
export_table_to_datastore: Exportfully_qualified_tableto datastoreexport_to_datastore: Exportsdatato Datastoreexport_to_pubsub: Exportsdataandattributesto Pub/Subtopic.export_to_storage: Exportscontentto Cloud Storagepost: POSTdatatourl.upload_table_to_gsheet: Upload data fromtable_or_view_or_queryto Google Sheetupload_to_gsheet: Uploaddata(a json array of objects) to a Google Sheet
π¬ Notify
send_google_chat_message: Sendsmessageto google chat spacesend_mail: Sends an emailsend_mail_with_excel: Sends an email withtable_or_view_or_querydata attached as excel filesend_mail_with_gmail: Sends an email using your gmail accountsend_slack_message: Sendsmessageto a slack channel.send_sms: Sendsmessagevia SMS tophone_numbersend_teams_adaptive_card: SendsAdaptive Cardto a Microsoft Teams channel.send_teams_message: Sendsmessageto a Microsoft Teams channel.
π¨ Utils (12 functions)ΒΆ
deduplicate_rows: Returns the deduplicated rows ofquery_or_table_or_viewdelete_empty_datasets: Delete empty datasets inprojectget_daily_jobs_cost: Get daily jobs costget_latest_partition_timestamp: Return the maximum of the partition column offully_qualified_tableget_table_columns: Get the column information of the given table fromINFORMATION_SCHEMA.COLUMNSget_view_history: Get BigQuery View historylist_scheduled_queries: Returnsscheduled_queriesof projectproject.run_python: Run anypython_code.sleep: Sleep duringsecondssecondstimestamp_from_unix_date_time: Interpretsunix_date_timeas the number ofdate_time_partsince1970-01-01 00:00:00 UTC.timestamp_to_unix_date_time: Returns the number ofdate_time_partsince1970-01-01 00:00:00 UTC.upsert: Mergesquery_or_table_or_viewinto thedestination_table.