要分析的时间序列数据

时间:2015-09-01 06:45:38

标签: r

我是r的新手。所以请耐心等待。

我有员工日志数据可供我使用。我拥有的行数接近120万(我有相同时间序列的更多数据点,所以想先尝试一下,然后我可以深入了解更多数据点)。我想分析数据。

该日志包含一个人在何时起床并出来的详细信息。我希望显示与图表相同的内容。

注意:我想展示整个人口数据,使其成为一个正在运行的图表,员工名称和日期是行,列标题将是时间,并且将出现的数据需要进行颜色编码。就像一个给定的员工在下午2:00到下午2:30在场时,我会将其颜色编码为绿色等。

  

事件描述条目的反传递错误 - 不止一次刷卡   退出时的反传递故障 - 多次刷新已授予条目    - 批准定期进入退出 - 定期退出

附上样本数据供您参考。

Date,Event Description,Reader Name,Card No,Emp Name,Site,Emp ID
3/2/2015 8:21:01,Entry granted,Door1,2,A1,ABC,Emp2
3/2/2015 8:28:57,Exit granted,Door1,2,A1,ABC,Emp2
3/2/2015 8:33:51,Entry granted,Door1,2,A1,ABC,Emp2
3/2/2015 8:46:24,Exit granted,Door1,2,A1,ABC,Emp2
3/2/2015 8:56:15,Entry granted,Door1,2,A1,ABC,Emp2
3/2/2015 10:02:46,Exit granted,Door1,2,A1,ABC,Emp2
3/2/2015 10:09:44,Entry granted,Door1,2,A1,ABC,Emp2
3/2/2015 11:12:48,Exit granted,Door1,2,A1,ABC,Emp2
3/2/2015 11:16:22,Entry granted,Door1,2,A1,ABC,Emp2
3/2/2015 11:21:47,Exit granted,Door1,2,A1,ABC,Emp2
3/2/2015 11:22:58,Entry granted,Door1,2,A1,ABC,Emp2
3/2/2015 12:07:22,Exit granted,Door1,2,A1,ABC,Emp2
3/2/2015 12:22:07,Entry granted,Door1,2,A1,ABC,Emp2
3/2/2015 13:12:44,Exit granted,Door1,2,A1,ABC,Emp2
3/2/2015 13:16:02,Entry granted,Door1,2,A1,ABC,Emp2
3/2/2015 14:00:33,Exit granted,Door1,2,A1,ABC,Emp2
3/2/2015 14:04:58,Entry granted,Door1,2,A1,ABC,Emp2
3/2/2015 14:08:19,Exit granted,Door1,2,A1,ABC,Emp2
3/3/2015 9:02:47,Entry granted,Door1,2,A1,ABC,Emp2
3/3/2015 9:05:27,Exit granted,Door1,2,A1,ABC,Emp2
3/3/2015 9:11:42,Entry granted,Door1,2,A1,ABC,Emp2
3/3/2015 10:44:58,Exit granted,Door1,2,A1,ABC,Emp2
3/3/2015 10:50:03,Entry granted,Door1,2,A1,ABC,Emp2
3/3/2015 10:54:22,Exit granted,Door1,2,A1,ABC,Emp2
3/3/2015 10:58:14,Entry granted,Door1,2,A1,ABC,Emp2
3/3/2015 12:12:04,Exit granted,Door1,2,A1,ABC,Emp2
3/3/2015 12:27:54,Entry granted,Door1,2,A1,ABC,Emp2
3/3/2015 13:00:29,Exit granted,Door1,2,A1,ABC,Emp2
3/3/2015 13:04:33,Entry granted,Door1,2,A1,ABC,Emp2
3/3/2015 13:06:04,Exit granted,Door1,2,A1,ABC,Emp2
3/3/2015 13:29:33,Entry granted,Door1,2,A1,ABC,Emp2
3/3/2015 14:27:52,Exit granted,Door1,2,A1,ABC,Emp2
3/3/2015 14:32:55,Entry granted,Door1,2,A1,ABC,Emp2
3/3/2015 16:12:11,Exit granted,Door1,2,A1,ABC,Emp2
3/3/2015 16:15:35,Entry granted,Door1,2,A1,ABC,Emp2
3/3/2015 17:06:40,Exit granted,Door1,2,A1,ABC,Emp2
3/3/2015 17:12:18,Entry granted,Door1,2,A1,ABC,Emp2
3/3/2015 17:55:42,Exit granted,Door1,2,A1,ABC,Emp2
3/3/2015 18:00:20,Entry granted,Door1,2,A1,ABC,Emp2
3/3/2015 18:46:23,Exit granted,Door1,2,A1,ABC,Emp2
3/4/2015 8:43:38,Entry granted,Door1,2,A1,ABC,Emp2
3/4/2015 8:48:14,Exit granted,Door1,2,A1,ABC,Emp2
3/4/2015 9:00:45,Entry granted,Door1,2,A1,ABC,Emp2
3/4/2015 9:49:05,Exit granted,Door1,2,A1,ABC,Emp2
3/4/2015 9:53:15,Entry granted,Door1,2,A1,ABC,Emp2
3/4/2015 10:05:51,Exit granted,Door1,2,A1,ABC,Emp2
3/4/2015 10:14:14,Entry granted,Door1,2,A1,ABC,Emp2
3/4/2015 11:16:32,Exit granted,Door1,2,A1,ABC,Emp2
3/4/2015 11:39:11,Entry granted,Door1,2,A1,ABC,Emp2
3/4/2015 11:40:08,Exit granted,Door1,2,A1,ABC,Emp2
3/4/2015 11:44:29,Entry granted,Door1,2,A1,ABC,Emp2
3/4/2015 12:51:01,Exit granted,Door1,2,A1,ABC,Emp2
3/4/2015 12:56:30,Entry granted,Door1,2,A1,ABC,Emp2

从CSV文件复制。

0 个答案:

没有答案