Skip to contents

Converts Mastodon stream data (JSON file) into a parsed tibble.

Usage

parse_stream(path)

Arguments

path

Character, name of JSON file with data collected by any stream_timeline function.

Value

a tibble of statuses

Details

The stream sometimes returns invalid lines of json. These are automatically skipped. Parsing can be slow if your json contains a large amount of statuses

Examples

if (FALSE) { # \dontrun{
stream_timeline_public(1, file_name = "stream.json")
parse_stream("stream.json")
} # }