Description Usage Arguments See Also Examples
dplyr interface treats tables as if they are in-memory data frames. This enables accessing big scholarly dataset without SQL.
1 | bgschol_tbl(con = NULL, table = NULL)
|
con |
bgschol_con() object |
table |
Database table |
Other tables:
bgschol_execute()
,
bgschol_list()
,
bgschol_query()
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
my_con <- bqschol::bgschol_con()
cr_instant_df <- bgschol_tbl(my_con, table = "snapshot")
cr_instant_df %>%
#top publishers
dplyr::group_by(publisher) %>%
dplyr::summarise(n = dplyr::n_distinct(doi)) %>%
dplyr::arrange(desc(n)) %>%
# Compute query and download to local session
dplyr::collect()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.