diff --git a/README.md b/README.md index 274fd39f..895b05ce 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,10 @@ GET /recovered ## Data -The data is retrieved programatically and re-formatted from the [2019 Novel Coronavirus (nCoV) Data Repository, provided by JHU CCSE](https://github.com/CSSEGISandData/2019-nCoV). +The data comes from the [2019 Novel Coronavirus (nCoV) Data Repository, provided +by JHU CCSE](https://github.com/CSSEGISandData/2019-nCoV). It is +programmatically retrieved, re-formatted and stored in the cache for one hour. + ## Prerequisites diff --git a/app/data/__init__.py b/app/data/__init__.py index 2386356d..8d1b7e00 100644 --- a/app/data/__init__.py +++ b/app/data/__init__.py @@ -11,7 +11,7 @@ @cached(cache=TTLCache(maxsize=1024, ttl=3600)) def get_data(category): """ - Retrieves the data for the provided type. + Retrieves the data for the provided type. The data is cached for 1 hour. """ # Adhere to category naming standard.