blogsetbr
收藏资源简介:
BlogSet-BR数据集是从PUCRS大学创建的原始数据集复制的,包含两个版本:原始版本(7,477,853条记录)和修改版本(7,468,541条记录)。修改版本移除了重复记录和特定问题记录,并添加了文件头。还提供了一个包含30,000条随机选择记录的示例数据集。
The BlogSet-BR dataset is replicated from the original dataset created by PUCRS University. It contains two versions: the original version (7,477,853 records) and the modified version (7,468,541 records). The modified version removes duplicate records and specific problematic records, and adds a file header. An example dataset consisting of 30,000 randomly selected records is also provided.
BlogSet-BR
数据集概述
- 数据集名称: BlogSet-BR
- 数据来源: 由PUCRS大学创建
数据集文件
-
原始数据集:
- 文件名:
blogsetbr-original.csv - 记录数: 7,477,853
- 文件名:
-
修改后的数据集:
- 文件名:
blogsetbr-modificado.csv - 记录数: 7,468,541
- 修改内容:
-
移除重复记录: 9,312条
-
移除特定记录:
4115562869749683982,6946372492808055983,8940733596261645225 -
添加文件头:
post.id,blog.id,published,title,content,author.id,author.displayName,replies.totalItems,tags
-
- 文件名:
-
示例数据集:
- 文件名:
blogsetbr-exemplos.csv - 记录数: 30,000
- 文件名:
数据加载
- 数据库: PostgreSQL
- 加载步骤:
-
创建数据库: sql create database blogsetbr_exemplos owner myuser;
-
连接数据库: sql c blogsetbr
-
创建表: sql create table posts ( post_id text primary key, blog_id text, published text, title text, content text, author_id text, author_displayName text, replies_totalItems text, tags text );
-
加载数据: sql copy posts from ~/Downloads/blogsetbr.csv with delimiter , csv header;
-
检查记录数: sql select count(*) from posts;
-




