MarquinSmith

Analytical – Honest – Passionate

  • Home
  • Services
  • Mini Projects
    • Data Analytics Helper Tools
    • Bitcoin Price Dashboard
    • Journey to data engineering
    • Tarantino Film Dashboard
    • Woolworths stock price tracker
    • How to reason and argue
  • Reference
    • The BookShelf
    • SQL Cheat Sheet
    • Dockerfile Cheat Sheet
  • Health, fitness and wellbeing
    • Crossfit Workouts
    • Gymnastics
    • Strength and fitness masterclass
    • Nutrition Course
    • Workout Stats
    • Physical Activity Stats
    • 6 week pre season soccer fitness plan
  • About

Author: M Smith

Automation

How to revoke read access to a single table in BigQuery using SQL

29th June 202528th June 2025 M SmithLeave a comment

If a particular user has been added read access to a table these permissions can be removed using the REVOKE keyword in SQL:

Read More ›
Data Analysis

How to grant read access to a single table in BigQuery using SQL

28th June 202528th June 2025 M SmithLeave a comment

A code snippet to add a user as read only on a BigQuery table. To add different permissions, other BigQuery roles can be seen in the Google documentation.

Read More ›
Automation

Copy a BigQuery model into another dataset using bq command line tool

27th June 202527th June 2025 M SmithLeave a comment

When creating or building a BigQuery Machine Learning model, the model itself is stored inside a BigQuery dataset. The code snippet below shows how to move a model from one …

Read More ›
Automation

A python command line tool to create dates in a range

26th June 202525th June 2025 M SmithLeave a comment

A simple tool to create dates in a date range at the terminal. Each date in the date range is printed to the screen allowing for redirection or incorporation into …

Read More ›
Automation

Trigger an Airflow DAG in Google Cloud Composer using gcloud command line tool

25th June 2025 M SmithLeave a comment

A code snippet showing how to trigger a DAG in Cloud Composer (managed Airflow) using the gcloud command line tool.

Read More ›
Data Analysis

SQLite – Getting started masterclass

24th June 2025 M SmithLeave a comment

A collection of video resources to on using and understanding SQLite. SQLite case study SQLite with Python SQLite for beginners …although some of the topics don’t seem like beginner topics …

Read More ›
Automation

Loading data into SQLite

23rd June 202523rd June 2025 M SmithLeave a comment

Different approaches to load data into a SQLite database using the following Python libraries: Pandas Using the pandas library (alongside click, and uv) to load a csv file into a …

Read More ›
Automation

A command line tool to get csv summaries using Sweetviz

22nd June 2025 M SmithLeave a comment

Working with data involves handling a lot of data files, most commonly CSV files. It can be very helpful to do some exploratory data analysis on the CSV file to …

Read More ›
Data Analysis

Sample data from a BigQuery table

21st June 202521st June 2025 M SmithLeave a comment

In BigQuery when running a query, the costs associated with doing so include a “scan” of the data that may be processed as part of executing the query. For example, …

Read More ›
Data Analysis

Create a Random Forest ML model in Bigquery and use it to make predictions

20th June 2025 M SmithLeave a comment

A code sample to create a random forest machine learning model in BigQuery and make predictions all using SQL.

Read More ›

Posts pagination

1 2 3 4 … 15

Recent Posts

  • How to revoke read access to a single table in BigQuery using SQL
  • How to grant read access to a single table in BigQuery using SQL
  • Copy a BigQuery model into another dataset using bq command line tool
  • A python command line tool to create dates in a range
  • Trigger an Airflow DAG in Google Cloud Composer using gcloud command line tool

Categories

  • Automation
  • Business
  • cybersecurity
  • Data Analysis
  • Finance
  • Personal Development
  • Python
  • Uncategorised
  • Web Analytics

Archives

Copyright © 2025 MarquinSmith.
Theme Easthill by ThemeMunk. Powered by WordPress.