Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!
Free Trial

ブログ

アナリティクスに関する聡明な考えに触れ、インサイトとアイデアが得られます。
ozawa
ACE Emeritus
ACE Emeritus

これまで、マクロの作成方法に関する記事をいくつか投稿させていただきました。
実際のマクロの使用例として私が公開しているものを1つ紹介したいと思います。

 

今回紹介するマクロは"convert_zenkakuhankaku"というものになります。
これは以下で公開しています。

 

このマクロでは"アルファベットと数字(+一部記号)"と"カタカナ"のそれぞれに対して半角・全角の変換を行います。
このツールの設定は以下のようになっています。

 

zenhan_conf.png

 

利用方法は

  • 変換対象となる列の設定
  • アルファベットや数字の変換を行う場合は「Ascii convet」にチェックを入れてどちらの変換を行うか選択
  • カタカナの変換を行う場合は「Kana convert」にチェックを入れてどちらの変換を行うか選択

となります。
実際の動きは以下のようになっています。

 

  • 使用前
    before.png
  • 使用後
    after.png

マクロはPublic Galleryからダウンロードしたyxzpファイルを展開するとyxmcファイルが入っているので通常のマクロと同様に利用いただけます。

Yuya Ozawa

My hobby is to create workflows that prohibit the use of maniac techniques and specific tools. I can use both R and Python, but for the time being, I'll do it with Alteryx. Working in data analysis and machine learning.

My hobby is to create workflows that prohibit the use of maniac techniques and specific tools. I can use both R and Python, but for the time being, I'll do it with Alteryx. Working in data analysis and machine learning.