Skip to content

Commit 64c32b0

Browse files
Alex BreslerAlex Bresler
authored andcommitted
A
1 parent d6871cf commit 64c32b0

File tree

8 files changed

+9
-12
lines changed

8 files changed

+9
-12
lines changed

.DS_Store

-4 KB
Binary file not shown.

.gitattributes

Lines changed: 0 additions & 2 deletions
This file was deleted.

.gitignore

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,3 @@
22
.Rhistory
33
.RData
44
.Ruserdata
5-
packrat/
6-
.Rprofile
7-
.httr-oauth
8-
test/
9-
tests/
10-
old/
11-
dev/

DESCRIPTION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ Imports:
3434
wordcloud2,
3535
ggthemes,
3636
ggplot2,
37+
purrrlyr,
3738
rlang,
3839
tibble,
3940
RColorBrewer,

NAMESPACE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ import(jsonlite)
9090
import(lubridate)
9191
import(memoise)
9292
import(purrr)
93+
import(purrrlyr)
9394
import(readr)
9495
import(readxl)
9596
import(rlang)

R/gdelt_full_text_api.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5219,7 +5219,7 @@ dictionary_ft_codebook <-
52195219
col_count <- ncol(df_terms)
52205220

52215221
df_terms <-
5222-
df_terms %>% by_row(is.na) %>% mutate(pctNA = (.out %>% map_dbl(sum)) / col_count) %>%
5222+
df_terms %>% purrrlyr::by_row(is.na) %>% mutate(pctNA = (.out %>% map_dbl(sum)) / col_count) %>%
52235223
filter(pctNA < 1) %>%
52245224
dplyr::select(-c(.out, pctNA))
52255225

@@ -5404,7 +5404,7 @@ dictionary_ft_codebook <-
54045404
#' @param nest_data if \code{TRUE} returns a nested \code{tibble()}
54055405
#' @param return_message if \code{TRUE} returns a message
54065406
#'
5407-
#' @import tidyr dplyr rlang highcharter trelliscopejs anytime lubridate purrr tibble glue stringr jsonlite
5407+
#' @import tidyr dplyr rlang highcharter trelliscopejs anytime lubridate purrr purrrlyr tibble glue stringr jsonlite
54085408
#' @return a \code{tibble} or a form of visualization
54095409
#' @export
54105410
#'
@@ -5602,7 +5602,7 @@ ft_v2_api <-
56025602
#'
56035603
#' @return
56045604
#' @export
5605-
#' @import tidyr dplyr rlang highcharter trelliscopejs anytime lubridate purrr tibble glue stringr jsonlite
5605+
#' @import tidyr dplyr rlang highcharter trelliscopejs anytime lubridate purrr purrrlyr tibble glue stringr jsonlite
56065606
#' @examples
56075607
generate_trelliscope_bundle <-
56085608
function(include_image_panel = TRUE,

dev/bigquery.R

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# https://console.cloud.google.com/bigquery?project=asbcllc.com:api-project-652943685261&folder=&organizationId=&p=gdelt-bq&d=gdeltv2&t=vgeg_iatv&page=table
2+
3+
4+
## Bigquery gdelt

inst/.DS_Store

-6 KB
Binary file not shown.

0 commit comments

Comments
 (0)