andreweatherman / cbbdata

https://cbbdata.aweatherman.com
Other
12 stars 2 forks source link

Issue with cbd_torvik_player_game #10

Closed kld2020 closed 7 months ago

kld2020 commented 7 months ago

Over the past couple of days I have occasionally had this error for the player_game function:

a <- cbd_torvik_player_game(year= 2024) Warning message: Failed to parse file with arrow::read_parquet()() from https://www.cbbdata.com/api/torvik/player/game?year=2024&key=eQXxetX8LS40K9rrWPoGpyeoIzWgYXGq3NgXuAEQ5t1__k1dkAS_Iu9L0musssAIa-aOa3SsE5Gd5dHeEzv3siLf5VRUCukJOtw9UrYNNhnc-hMFFu_lZxpTHVW9q-X7LwMbGP_eA4N9NTjjx8GRtizlAPdO6LqARmXuhRBmYT0

All other functions seem to work. It may just be a problem with my instance, but just wanted to check if anyone else was having this problem.

To reproduce: library(cbbdata) cbd_login() a <- cbd_torvik_player_game(year= 2024)

Thanks for the help!

andreweatherman commented 7 months ago

This will occasionally show if you are sending that request when the data itself is being updated. Updates run every 30 minutes and there are two ~10-15s windows per hour when that error might return.

kld2020 commented 7 months ago

Got it. Thanks!

kld2020 commented 6 months ago

Hey, I've had this error occur regularly this morning, and have not been able to get this function to work. I have attempted about once every 5 minutes since 8am CT. Just checking if this is something on my machine. Other functions working fine.

Thanks

kld2020 commented 6 months ago

Just worked.