|
Download README.md from VIEWVIEWVIEW/pr0gramm-usercomments: direct link, hf CLI and curl.
- Browser
- Download file 2.49 kB
-
https://huggingface.co/datasets/VIEWVIEWVIEW/pr0gramm-usercomments/resolve/main/README.md
- Command line
-
hf download hf://datasets/VIEWVIEWVIEW/pr0gramm-usercomments/README.md
-
curl -L -o README.md https://huggingface.co/datasets/VIEWVIEWVIEW/pr0gramm-usercomments/resolve/main/README.md
2.49 kB
metadata
pretty_name: pr0gramm user comments
license: mit
language:
- de
- en
task_categories:
- other
pr0gramm-usercomments
This dataset contains SQLite exports of pr0gramm item metadata and comments.
Initial Crawl
The initial full snapshot is:
pr0gramm.sqlite3
Initial full-crawl coverage:
- Highest
items.item_id:6986879 - Highest
comments.item_id:6986879
Weekly Delta DBs
Incremental updates are published as additional SQLite files in the dataset root.
Filename pattern:
pr0_delta_YYYY-Www_ids_<upper>_<lower>.sqlite3
Meaning:
<upper>= highest crawled item id in that delta<lower>= lowest crawled item id in that delta- IDs in a delta are crawled descending from
<upper>to<lower>
Delta crawl policy:
- Weekly incremental crawl
- Only IDs newer than the previous
last_known_id - 14-day maturity delay before crawling (to capture most comments)
- No revisit of older IDs in weekly mode
Delta schema normalization:
- Delta DBs are normalized to match the vacuumed base schema exactly.
- Only tables:
items,comments - No crawler-internal tables (for example
crawl_state,item_detail_failures)
Merge Strategy
To merge a delta into the base DB:
- Attach delta DB to a local copy of
pr0gramm.sqlite3 - Upsert/insert by primary keys:
items.item_idcomments.comment_id
Because IDs are monotonic and deltas are non-overlapping ranges, merge operations are straightforward and deterministic.
Tables
The vacuumed schema is:
commentsitems
comments schema
comment_idINTEGER PRIMARY KEYitem_idINTEGER NOT NULLparent_comment_idINTEGERcomment_timeINTEGERscoreINTEGERupvotesINTEGERdownvotesINTEGERuser_nameTEXTuser_idINTEGERuser_profile_urlTEXTbodyTEXTraw_jsonTEXT NOT NULL
items schema
item_idINTEGER PRIMARY KEYpromotedINTEGERflagsINTEGERcreated_atINTEGERuser_nameTEXTsource_feedTEXT NOT NULLraw_jsonTEXT NOT NULL
Notes
- Timestamps are stored as Unix seconds.
raw_jsoncontains API payload snapshots and may include fields not normalized into separate columns.
User status
user_status.sqlite3 is a single snapshot of the user mark of each user (e.g. whether they are administrator, moderator, old user ("altschwuchtel"), new user ("neuschwuchtel") etc.)