Skip to content

JBWKZsf/Zhihu_Questions_with_Date_ID

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Zhihu_Questions_with_Date_ID

This repo is to list the 知乎(zhihu) questions whose ID is a date, e.g. today 20150407.

According to the answer to the question 知乎上的第一个问题是什么?, the first ID of Zhihu questions is 19550225. However, the ID number of the questions are not continuous, with a random interval from 1 to 4 (See this). So I import the library RCurl and use

url.exists(Q_url)

to check if the "date ID" is valid.

After outputting the raw result, I further tidied it up into .md format with

for_md <- paste0(Zhihu_Questions$QID," | [", Zhihu_Questions$Question,"](http://www.zhihu.com/question/", Zhihu_Questions$QID, ")")
write(formd, file = "result.md")

Then I opened the .md file and add the column names

ID (Date) | Question
--------- | --------

The result in result.md was collected on April 1st, 2015.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%