In its current implementation, the function validate_response returns NULL it if receives an HTTP status code that is not explicitly listed in the switch.
A default branch with an informative error message should be added.
https://github.com/KOF-ch/kofdata/blob/main/R/validate_response.R
In its current implementation, the function
validate_responsereturnsNULLit if receives an HTTP status code that is not explicitly listed in the switch.A default branch with an informative error message should be added.
https://github.com/KOF-ch/kofdata/blob/main/R/validate_response.R