調整発生月


調整発生月


https://t.co/vTmhejwHin

コマンド

correction_month <- c("1974-11-01","1975-07-01","1976-09-01","1978-09-01","1979-10-01","1980-02-01","1980-11-01","1983-10-01","1987-08-01","1990-01-01","1990-07-01","1997-10-01","1998-07-01","1999-07-01","2000-03-01","2002-11-01","2007-10-01","2010-04-01","2011-04-01","2015-05-01","2015-11-01","2018-01-01","2018-09-01","2020-02-01")

サンプル

cat tmp | awk '{print $2"-"$1"-01"}' | sed 's/Nod 's/Sep/09/' |  sed 's/Oct/10/' |  sed 's/Feb/02/'| sed 's/Mar/03/' |  sed 's/Jan/01/' |  sed 's/May/05/'| awk '{ORS=",";print "\""$1"\""}'


この記事が気に入ったらサポートをしてみませんか?