Description Usage Arguments Examples
A wrapper for the DBI::dbGetQuery()
that provides support for basic pattern matching.
1 |
con |
A database connection to the GDD database. |
name |
The name used to identify the query. |
table |
The table of interest. |
col |
The table column. |
pattern |
A Postgres-compliant (and case-sensitive) regex pattern. https://www.postgresql.org/docs/9.3/static/functions-matching.html. |
rows |
Do you want to return the explicit rows (default is FALSE)? |
paper |
Is the analysis at the sentence level or at the level of the paper? (default |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## Not run:
library(geodiveR)
library(DBI)
con <- dbConnect(drv = "PostgreSQL",
user = "postgres",
password = "postgres",
host = "localhost",
port = "5432",
dbname = "deepdive")
july_sent <- gddMatch(con = con,
table = 'sentences',
col = 'words',
pattern = 'July',
name = "JulyQuery")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.