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
20 stars 10 forks source link

Improve helper text displayed to user #20

Closed flaneuse closed 3 years ago

flaneuse commented 3 years ago

Call: county_df=getAdmn2ByCountry()

gkarthik commented 3 years ago

To create the progress bar, we need the total number of results which can be obtained from the total field in the object returned by the query,

{
    "_scroll_id": "DnF1ZXJ5VGhlbkZldGNoAwAAAAAAlEHcFmVWUk5HRkRKUllPdmg4VkNhS1hSWncAAAAAAJRB3hZlVlJOR0ZESlJZT3ZoOFZDYUtYUlp3AAAAAACUQd0WZVZSTkdGREpSWU92aDhWQ2FLWFJadw==",
    "took": 180,
    "total": 13312,
    "max_score": 3.9468555
...
}