The data type is a classification for data that determines how data can be used by programming languages and data analysis software. Knowledge of data types is fundamental to visualizing data as the type of data will affect the possible visualizations which may be generated from that data.
Quantitative Data:
Quantitative data is composed of numeric value.
Examples:
There are two categories for quantitative data:
Examples of Discrete Data:
Examples of Continuous Data:
Qualitative Data:
Qualitative data categorizes or describes an object, but does not measure it. Qualitative data are typically recorded as text. Data scientists often refer to textual data as string data.
There are three categories of qualitative data:
Examples of Qualitative Data:
Date and time data is typically represented as sets of numbers separated by dashes or colons. There is even a format recommended by the International Standards Organization for recording date and time data.
ISO 8601 uses the following format for indicating dates:
YYYY-MM-DD
Where YYYY represents a four-digit year, MM is a two digit month between 01 representing January and 12 representing December, and DD for the day of the month with 01 as the first day of the month and 31 being the last possible day of the month.
As an example, the date February 9, 1995 would translate to 1995-02-09.
ISO 8601 uses the following format for indicating time:
HH:MM:SS
Where HH represents the hour of the day on a 01-24 military time scale, MM represents the minute of the hour between 00 and 59, and SS represents the second of the minute, also between 00 and 59.
This is probably familiar, as it is commonly used with stop watches to record time.