Class dashboard
¶
Import strymmap
as:
from strym import dashboard
helps in collecting metadata from within a CAN CSV folder and print interesting aspects of the collection.
-
class
strym.
dashboard
(directory='./', verbose=False, start=None, end=None, **kwargs)¶ dashboard works within the strym package to collect metadata files from within a folder and print interesting aspects of the collection
- Parameters
- directory : str
Reads from the specified directory
- verbose : bool
Boolean flag, if True verbosity is enabled
- kwargs : variable list of argument in the dictionary format
-
directory
¶ Reads from the specified directory
- Type
str
-
verbose
¶ Boolean flag, if True verbosity is enabled
- Type
bool
-
metadata_dict
¶ Metadata dictionary
- Type
dict
-
jsonlist
¶ A list contain json data
- Type
list
-
kilometers
()¶ Retrieves distance traveled in Kilometers
- Returns
float – Total distance travelled in Kilometers
-
miles
()¶ Retrieves distance traveled in miles
- Returns
float – Total distance travelled in miles
-
statistics
()¶ Retrieves interesting statistics
- Returns
str – String formatted JSON