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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
florets1
February 22, 2024
Business
300
2
Share
請求と支払を照合する技術/using_full_join_in_r
florets1
February 22, 2024
More Decks by florets1
See All by florets1
データ分析をはじめよう/lets_start_data_analysis
florets1
2
1k
なぜSQLはAIぽく見えるのか/why does SQL look AI like
florets1
0
680
Tableauとggplot2の背景/Background_of_Tableau_and_ggplot2
florets1
0
86
Rで学ぶデータハンドリング入門/Introduction_to_Data_Handling_with_R
florets1
0
150
人工知能はクロスジョインでできている/AI_Is_Built_on_Cross_Joins
florets1
0
100
仮説の取扱説明書/User_Guide_to_a_Hypothesis
florets1
4
470
複式簿記から純資産を排除する/eliminate_net_assets_from_double-entry_bookkeeping
florets1
1
480
カイ二乗検定は何をやっているのか/What_Does_the_Chi-Square_Test_Do
florets1
7
2.5k
直積は便利/direct_product_is_useful
florets1
3
480
Other Decks in Business
See All in Business
GEO Experiments 2026: What We Tested, What Failed, and What Actually Works
thomaspeham
1
2.7k
LW_brochure_business
lincwellhr
1
82k
哲学ドリブン開発の全体像 ── 同じプロンプトで出力が変わるとき、何が起きているのか~Philosophy as Code
makitotashiro
0
140
白金鉱業meetup発表資料
tetsuroito
1
260
営業職/新卒向け会社紹介資料(テックファーム株式会社)
techfirm
1
1.6k
株式会社BALLAS 会社案内
ballas_inc
0
38k
Speee_2026年9月期第2四半期 決算説明資料
speee_pr
0
3k
Claude × Linear で代謝する組織をつくろう 第2章 バイブタスク管理 設計編
nagatsu
0
840
株式会社ダイスネクスト会社案内
atsushitakahashi
0
130
Product Management Summit 2026 リチェルカ登壇資料『PdMを廃止しました。』
recerqainc
6
9.1k
司コンピュータ株式会社
tsukasacomputer
0
320
エンジニアがAIで副業をする場合の入り口と仕事について調べてみた
ochtum
1
150
Featured
See All Featured
How to Think Like a Performance Engineer
csswizardry
28
2.6k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
690
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
My Coaching Mixtape
mlcsv
0
130
Designing Powerful Visuals for Engaging Learning
tmiket
1
360
Making Projects Easy
brettharned
120
6.6k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.9k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
110k
Into the Great Unknown - MozCon
thekraken
41
2.5k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
360
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
240
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 終わりに 照合を簡単に考えられる枠組みをご紹介しました。 ぜひこの枠組みを活用してください。