Description Usage Arguments Note Author(s) See Also Examples
This function parse the JSON files (as is defined in streamR package). Once is parsed export it to a database format the timestamp column and creates to tables one with all the tweets and other only with geotagged tweets.
1 |
fileprefix |
Setup file prefix for JSON files. If tweets have been retrieved with the |
con |
postGIS connection parameters. For more information look at RPostgreSQL |
path |
A character vector to folder. see ?list.files() |
pattern |
Limits possible file extensions, optional as regular expression. see ?list.files() |
It is mandatory to configure the connection to the database. The procedure is well described at RPostgreSQL package
Pau Aragó Galindo parago@uji.es
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
#create a postgres connection
connection <- con <- dbConnect(PostgreSQL(), host="urls host",port=5432,
user="user", password="assword", dbname="pgistweets")
fileprefix="tweets"
t2pgis(fileprefix, connection)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.