Learn R Programming

tweet2r (version 1.1)

valjson: Json validation function

Description

Function to validate json files created by tweet2r. This function deletes json files with Tweeter streaming API messages and rename json files consecutively according to a fileprefix.

Usage

valjson(fileprefix, path = ".", pattern = ".json$")

Arguments

fileprefix

Fileprefix name from json files

path

A character vector to folder. see ?list.files()

pattern

Limits possible file extensions, optional as regular expression. see ?list.files()

See Also

tweet2r

Examples

Run this code
# NOT RUN {
	
# }
# NOT RUN {
	valjson(fileprefix)
	
# }

Run the code above in your browser using DataLab