选择(列,(包含())未显示结果
chase_2021 = chase[c(143:1020),]
paychecks = chase_2021 %>%
select(Posting.Date, Amount, Description, starts_with('CVS'), ends_with('PPD ID: 9953382345')) %>%
filter(Amount > 100, Amount < 1000)
目前,我正在尝试根据我从我的银行帐户之一下载的数据集找到去年的薪水。如果我要获得超过100美元的交易,R将显示我通过雇主赚取的钱,以及通过我从当时欠我的人那里收到的投资和现金。我的雇主的薪水在“描述”列下的CVS Payroll PPID上列出。上面的代码仍显示我从雇主和其他人那里获得的收入。另外,我无法使用end_with(2021)按年来列出列,因此我不得不使用列号过滤。
chase_2021 = chase[c(143:1020),]
paychecks = chase_2021 %>%
select(Posting.Date, Amount, Description, starts_with('CVS'), ends_with('PPD ID: 9953382345')) %>%
filter(Amount > 100, Amount < 1000)
I'm currently trying to find my paychecks from last year based on a dataset I downloaded from one of my bank accounts. If I subet for transactions that were more than $100, R displays money I earned through my employer, but also through investments and cash I received from people who owed me at the time. Paychecks from my employer are listed on CVS PAYROLL PPID under the Description column. The code above still displays the earnings I received from my employer and others. Also, I couldn't subset the columns by year with ends_with(2021) So I had to filter with column numbers.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论