pycancensus.list_cache

pycancensus.list_cache() DataFrame[source]

List all cached data files.

Returns:

DataFrame with information about cached files including: - cache_key: The cache key - file_path: Full path to cached file - size_mb: File size in MB - created: Creation timestamp - modified: Last modification timestamp

Return type:

pd.DataFrame

Examples

>>> import pycancensus as pc
>>> cache_list = pc.list_cache()
>>> print(cache_list)