Beautiful Charts in R with ggplot2 (for Excel Users)
Build bar, line and scatter charts in R with ggplot2, and learn the “grammar of graphics” idea that makes every chart the same few…
Read article →Excel, SAP, Oracle & automation tips — plus wacky facts
Start-to-finish programming for people who work with data: Python, SQL, Java, R, JavaScript, Rust and PowerShell.
Build bar, line and scatter charts in R with ggplot2, and learn the “grammar of graphics” idea that makes every chart the same few…
Read article →Put the course together: build a half-year sales report from shop.db with total sales, GST, top customer, best month, cancellation rate and a region…
Read article →Save a query as a view: build an order_lines view joining orders, customers and products, query it like a table, use views for reports…
Read article →Change data without disasters: INSERT rows, UPDATE with a WHERE you have tested, DELETE carefully, transactions with BEGIN/ROLLBACK/COMMIT, and habits that prevent “I updated…
Read article →Filter and group by dates in SQL: ISO date format, month and year ranges, strftime/date functions in SQLite (and SQL Server/PostgreSQL equivalents), adding days,…
Read article →Use CASE to label rows (price bands, order sizes), count conditions side by side with SUM(CASE…), handle NULLs with readable labels, and build pivot-style…
Read article →Use a query inside a query: compare with an average, filter with IN and NOT IN, find the row with the maximum, query a…
Read article →Combine tables with JOIN: primary and foreign keys, INNER JOIN, table aliases, joining three tables, LEFT JOIN to find missing matches, and the duplicate-row…
Read article →Get totals per group with GROUP BY — customers per region, orders per status, sales per month — filter groups with HAVING, and know…
Read article →Summarise data with aggregate functions: COUNT(*) vs COUNT(column), SUM, AVG with ROUND, MIN and MAX on numbers and dates, filtering before aggregating, and how…
Read article →Sort SQL results with ORDER BY, ascending and descending, by several columns and by calculated values; get top-N lists with LIMIT, and understand why…
Read article →Filter rows in SQL with WHERE: comparison operators, AND/OR with brackets, IN, BETWEEN, LIKE with % and _, and IS NULL — the SQL…
Read article →Bones are stronger than steel of the same weight.
Weight for weight, bone is remarkably strong, especially under compression, because of its mix of collagen and mineral.