outbreak-info / R-outbreak-info

R package to access the genomics and epidemiology data and Research Library metadata compiled and standardized on outbreak.info.
https://outbreak-info.github.io/R-outbreak-info/
MIT License
19 stars 10 forks source link

Add a warning for URLs that are too long #93

Closed flaneuse closed 1 year ago

flaneuse commented 1 year ago

When someone is trying to query A LOT of lineages with descendants (or locations, etc.), they can quickly get above the URL length limit. Add a warning to the generic getGenomicData() or getGenomicResponse() to warn or error if a user specifies a URL > maybe 2,000 characters?