Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
請求と支払を照合する技術/using_full_join_in_r
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
florets1
February 22, 2024
Business
2
300
請求と支払を照合する技術/using_full_join_in_r
florets1
February 22, 2024
Tweet
Share
More Decks by florets1
See All by florets1
なぜSQLはAIぽく見えるのか/why does SQL look AI like
florets1
0
570
Tableauとggplot2の背景/Background_of_Tableau_and_ggplot2
florets1
0
69
Rで学ぶデータハンドリング入門/Introduction_to_Data_Handling_with_R
florets1
0
140
人工知能はクロスジョインでできている/AI_Is_Built_on_Cross_Joins
florets1
0
98
仮説の取扱説明書/User_Guide_to_a_Hypothesis
florets1
4
450
複式簿記から純資産を排除する/eliminate_net_assets_from_double-entry_bookkeeping
florets1
1
470
カイ二乗検定は何をやっているのか/What_Does_the_Chi-Square_Test_Do
florets1
7
2.5k
直積は便利/direct_product_is_useful
florets1
3
470
butterfly_effect/butterfly_effect_in-house
florets1
1
290
Other Decks in Business
See All in Business
EMの透明性はどう作られるのか ―社内ラジオを続けて分かったこと
sanogemaru
1
210
内定者100人の就活対策術
ababa_company
0
3.5k
新卒採用向け説明資料
kazumakitao
1
1.3k
ONE CAREER People & Culture Report 2026
onecareer
0
1.9k
難しすぎる組織(せかい)が僕をアジャイル好きの異端と呼ぶ
nb_rady
0
110
セーフィー株式会社(Safie Inc.) 会社紹介資料
safie_recruit
7
420k
【エンジニア採用】IDOM Digital Drive会社説明資料
idomdigitaldrive
0
11k
SANU Regenerative Action Report 2026
sanu
0
5.1k
AIエージェント時代のハーネスエンジニアリングとは
tame
3
1.6k
8 quotes that sum up recent trading in the travel sector
marketingttc
0
160
会社紹介資料
gatechnologies
2
160k
2025年度ICT職専門研修(海外派遣研修)報告書 No.2
tokyo_metropolitan_gov_digital_hr
0
270
Featured
See All Featured
The untapped power of vector embeddings
frankvandijk
2
1.6k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
160
A designer walks into a library…
pauljervisheath
210
24k
Navigating Team Friction
lara
192
16k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.9k
Building the Perfect Custom Keyboard
takai
2
720
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Automating Front-end Workflow
addyosmani
1370
200k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
68
38k
Testing 201, or: Great Expectations
jmmastey
46
8.1k
Transcript
1 2024.02.24 Tokyo.R #111 請求と支払を照合する技術
2 はじめに これを使います
3 照合作業の何が難しいのか 注文番号3: 請求はあるが支払はない 注文番号4: 支払はあるが請求はない 両方のパターンを考慮しないといけない 請求データ s 支払データ
h
4 請求データs 起点の照合 注文番号4を見逃してしまう
5 支払データh 起点の照合 注文番号3を見逃してしまう
6 両方から起点の照合 これなら見逃さない
7 照合作業の何が難しかったのか ↑何が難しかったのか、このコードを見るとよくわかる left_join だけではダメ right_joinだけでもダメ 両方使って、縦に並べると重複データだらけになる 縦に並べてさらに重複データを除く必要あり(union) ↑ 多くのビジネスパーソンはそこまで考えられない
だって道具はVLOOKUPだもん
8 これだけおぼえて =
9 両方から起点の照合 これなら見逃さない
10 本当に取り組むべき課題が明確に • 注文番号を顧客と共通化する • 支払データをもらえるように顧客に交渉する など
11 照合はあらゆるところに • 予算データと実績データ • 在庫データと棚卸データ 別のシステム、組織、担当者から発生したデータ 同士の照合ではfull_joinが活躍します!
12 終わりに 照合を簡単に考えられる枠組みをご紹介しました。 ぜひこの枠組みを活用してください。