Wrapper for the 'Official Hacker News' API
Checks whether max_items is correctly defined. If not throws an error
Converts comment to a dataframe row
Creates an object representing a response from the Hacker News API
Creates an object representing Hacker News item
Creates an object representing Hacker News user
Creates a request url based on the given base url and passed paths. Th...
return specified variable or default value if specified variable is nu...
Returns the base url of the Hacker News API
Sends a request to the specified url and retrieves it's content.
Hacker News best stories
Hacker News best stories ids
Hacker News nested comments
Hacker News nested comments with root comment
Retrieves the response content
Get Hacker News by Id
Get Hacker News by ids
Hacker News latest ask stories
Hacker News latest ask stories ids
Hacker News latest job stories
Hacker News latest job stories ids
Hacker News latest show stories
Hacker News latest show stories ids
Hacker News item largest id
Hacker News newest stories
Hacker News newest stories ids
Hacker News top stories
Hacker News top stories ids
Hacker News updated profiles
Get Hacker News user
Checks whether the given object is of the class hn_api_response.
Checks whether the given object is of the class hn_item
Checks whether the given object is of the class hn_user
Parses a json response
Print for "hn_item" type objects
Print for "hn_user" type objects
Converts numeric value into POSIXct datetime type
Selects only limited number of ids
Checks if the given response is not empty and that it did not return a...
Checks whether the given object is correctly defined hn_item class
Checks whether the given object is correctly defined hn_user class
Adds the json extension to the given url
Adds the given path to the given url
Asserts a given expression and throws an error if it returns FALSE
Checks whether ids are correctly defined. If not throws an error
Use the <https://hacker-news.firebaseio.com/v0/> API through R. Retrieve posts, articles and other items in form of convenient R objects.
Useful links