powered by
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.
valjson(fileprefix, path = ".", pattern = ".json$")
Fileprefix name from json files
A character vector to folder. see ?list.files()
Limits possible file extensions, optional as regular expression. see ?list.files()
tweet2r
# NOT RUN { # } # NOT RUN { valjson(fileprefix) # }
Run the code above in your browser using DataLab