beanumber / beanumber/statcastr

flaky load behavior

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
R
Stars
14
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```{r}
> sc %>% etl_load(years = 2019, months = 4:7)
Loading 4 file(s) into the database...
Error in scan(file = file, what = what, sep = sep, quote = quote, dec = dec, :
line 48 did not have 90 elements
In addition: Warning message:
In etl::smart_upload(obj, src = src, tablenames = "statcast", ...) :

Error in scan(file = file, what = what, sep = sep, quote = quote, dec = dec, :
line 48 did not have 90 elements
> sc %>% etl_load(years = 2019, months = 4)
Loading 1 file(s) into the database...
Error in scan(file = file, what = what, sep = sep, quote = quote, dec = dec, :
line 48 did not have 90 elements
> sc %>% etl_load(years = 2019, months = 5)
Loading 1 file(s) into the database...
> sc %>% etl_load(years = 2019, months = 6)
Loading 1 file(s) into the database...
> sc %>% etl_load(years = 2019, months = 7)
Loading 1 file(s) into the database...
> sc %>% etl_load(years = 2019, months = 4)
Loading 1 file(s) into the database...
```

Perhaps need to add some robustness checks or run `etl_init()`?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.