r - 使用棒球的日期返回错误
问题描述
当我在棒球运动员中使用刮擦功能时,我得到一个错误,即使我的使用“看起来”与我在示例中看到的方式相同。有什么建议么?
player_info_astros <- scrape_statcast_savant_batter_all(start_date = "2021-08-01",
end_date = "2021-20-07",
playerid = 518545)
# 2021-08-01 is not a date. Attempting to coerce...
# Error in charToDate(x) :
# character string is not in a standard unambiguous format
解决方案
推荐阅读
- apache - CGI 脚本和 shell 中的不同 @INC
- python - Anaconda Navigator 无法创建新环境
- java - 使用 JFrame 创建颜色网格?
- sas - SAS - 在多个 BY 组中查找观察数并删除特定观察
- git - 在 gitflow 模型中创建 hotfix 分支或 feature 分支
- r - 如果组中至少有一行符合 R 中的条件,如何保留整个组?
- sql-server - SSIS——存档平面文件任务创建重复文件
- python - 如何使用嵌套循环为函数设置动画?
- java - 扩展以自身为成员的类
- r - r 中的引导程序(通过参数测试):如何基于比使用的数据集*更大*或*更小*的样本构建统计数据?