This function downloads tables from GoogleBigQuery and brings them into memory as a normal r data.frame. The first time it is ran, you will have to authenticate into your GBQ account.
get_table( project = "ucsb-gfw", dataset = NULL, table = NULL, allowLargeResults = TRUE, show_tables = TRUE )
project | Name of the project, defaults to |
---|---|
dataset | Name of the dataset where the table lives |
table | Name of the table to download |
allowLargeResults | Allow large results? |
show_tables | Show all tables within the dataset before downloading? |
An object of clas tbl.df
if (FALSE) { my_data <- get_table(dataset = "foreign_fishing_ren", table = "annual_foreign_fishing") }