摘要: Introduction In daily data analysis, we often face table has date columns. In different data sources, the format of date can be very different. This w 阅读全文
posted @ 2022-05-02 15:10 DrVonGoosewing 阅读(37) 评论(0) 推荐(0) 编辑
摘要: Introduction In daily analysis we will face a simple chanllenge: how to add a summary row for our table? # A tibble: 5 × 2 cut avg_pri <ord> <dbl> 1 F 阅读全文
posted @ 2022-03-13 11:16 DrVonGoosewing 阅读(52) 评论(0) 推荐(0) 编辑
摘要: 1. Why do I care? In R, when we want to create a new column we often use mutate() function. A little complex situation is that this new column is base 阅读全文
posted @ 2022-02-01 16:35 DrVonGoosewing 阅读(39) 评论(0) 推荐(0) 编辑
摘要: 1. What is a bee swarm plot? Bee swarm plot is a categorical scatter plot. A normal scatter plot has problem when you come to compare groups of data s 阅读全文
posted @ 2022-01-22 15:14 DrVonGoosewing 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 1. Introduction nullif() has two parameters. The first one, is a variable, and the second one is a real number. We want a result that when param1 equa 阅读全文
posted @ 2022-01-01 16:29 DrVonGoosewing 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 1. Introduction In R language, we often use group_by() with summarise() to do summary. If we group_by() multiple columns, we will have a multi-index t 阅读全文
posted @ 2021-12-04 16:19 DrVonGoosewing 阅读(51) 评论(0) 推荐(0) 编辑
摘要: 1. Introduction If you are reading this article I suppose you use C. In C, we do not have dictionary or map or other key-value pair collection by defa 阅读全文
posted @ 2021-10-31 10:22 DrVonGoosewing 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 1. Introduction In this article we will discuss over() function in SQL. over() is used in conjunction with other functions and mostly it means to scat 阅读全文
posted @ 2021-10-02 15:49 DrVonGoosewing 阅读(37) 评论(0) 推荐(0) 编辑
摘要: WARNING: This is only a test application for SQL learning. If you are in business production environment, you should not follow this article. 1. How t 阅读全文
posted @ 2021-09-19 23:21 DrVonGoosewing 阅读(56) 评论(0) 推荐(0) 编辑
摘要: 1. Introduction Different people may have different idea on "pivot data": If you are an Excel expert, you may think it as creating an excel pivot tabl 阅读全文
posted @ 2021-08-01 17:03 DrVonGoosewing 阅读(44) 评论(0) 推荐(0) 编辑