valjson: Json validation function

Description Usage Arguments Author(s) See Also Examples

View source: R/valjson.R

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

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

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()

fsize

Size in kb of .json files to be deleted becouse ther is no information on it. By defout the value is 7 it could be change dependeing on the file size retrieved.

Author(s)

Pau Arag<c3><b3> Galindo parago@uji.es

See Also

tweet2r

Examples

1
2
3
4
	## Not run: 
	valjson(fileprefix)
	
## End(Not run)

pauarago/tweet2r documentation built on May 24, 2019, 8:22 p.m.