diff --git a/data-raw/jct_001_get_cr_data.R b/data-raw/jct_001_get_cr_data.R index cf60fc3..435f2ae 100644 --- a/data-raw/jct_001_get_cr_data.R +++ b/data-raw/jct_001_get_cr_data.R @@ -29,7 +29,9 @@ jct_hybrid_jns <- jct_hybrid_jns_raw |> "2772-6967", "1097-3702", "2768-7228", "1869-3660", "2666-9587", "2589-8892", "2321-0656", "2642-3588", "2667-3681", "2590-0315", "1746-6202", "0943-4747", "2352-3727", "2748-1964", "2516-6042", - "2747-7460", "0012-9623", "2804-7214", "2694-0884", "2694-085X")) + "2747-7460", "0012-9623", "2804-7214", "2694-0884", "2694-085X")) |> + # Also remove wrong ta data link in JCT + dplyr::filter(esac_id != "eme2025ukb") # Upload to BQ jct_hybrid_jns_path <- diff --git a/data/cc_articles.rda b/data/cc_articles.rda index 99555ba..395629d 100644 Binary files a/data/cc_articles.rda and b/data/cc_articles.rda differ diff --git a/data/cr_md.rda b/data/cr_md.rda index 16b95e7..3f1a12d 100644 Binary files a/data/cr_md.rda and b/data/cr_md.rda differ diff --git a/data/cr_upw.rda b/data/cr_upw.rda index 2207c3d..8127cec 100644 Binary files a/data/cr_upw.rda and b/data/cr_upw.rda differ diff --git a/data/jct_hybrid_jns.rda b/data/jct_hybrid_jns.rda index 7c93915..84ee950 100644 Binary files a/data/jct_hybrid_jns.rda and b/data/jct_hybrid_jns.rda differ diff --git a/data/jct_oalex_venues.rda b/data/jct_oalex_venues.rda index cc2e00b..d0a438e 100644 Binary files a/data/jct_oalex_venues.rda and b/data/jct_oalex_venues.rda differ diff --git a/data/jn_aff.rda b/data/jn_aff.rda index a6925d5..770bb18 100644 Binary files a/data/jn_aff.rda and b/data/jn_aff.rda differ diff --git a/data/jn_ind.rda b/data/jn_ind.rda index 2b9fbd6..db127d2 100644 Binary files a/data/jn_ind.rda and b/data/jn_ind.rda differ diff --git a/inst/sql/cc_upw_cr.sql b/inst/sql/cc_upw_cr.sql index ebf0769..b952f6f 100644 --- a/inst/sql/cc_upw_cr.sql +++ b/inst/sql/cc_upw_cr.sql @@ -8,7 +8,7 @@ WITH SELECT DISTINCT oalex.doi FROM - `subugoe-collaborative.openalex.works` AS oalex + `subugoe-collaborative.openalex_walden.works` AS oalex WHERE open_access.oa_status = "hybrid" ), # 2. Germany OA evidence per source diff --git a/inst/sql/cr_openalex_inst_full_raw.sql b/inst/sql/cr_openalex_inst_full_raw.sql index e19b8ee..c656111 100644 --- a/inst/sql/cr_openalex_inst_full_raw.sql +++ b/inst/sql/cr_openalex_inst_full_raw.sql @@ -8,7 +8,7 @@ WITH first_aff AS ( SELECT doi, author_position, institutions - FROM `subugoe-collaborative.openalex.works`, + FROM `subugoe-collaborative.openalex_walden.works`, UNNEST(authorships) WHERE author_position = "first" ), diff --git a/inst/sql/jct_inst_enriched.sql b/inst/sql/jct_inst_enriched.sql index b070763..79e5e9a 100644 --- a/inst/sql/jct_inst_enriched.sql +++ b/inst/sql/jct_inst_enriched.sql @@ -10,7 +10,7 @@ WITH LEFT JOIN `subugoe-collaborative.openalex.institutions` AS oalex_inst ON - jct_inst.ror_id = oalex_inst.ror + jct_inst.ror_id = oalex_inst.ids.ror LEFT JOIN UNNEST(oalex_inst.associated_institutions) AS inst ORDER BY diff --git a/inst/sql/jct_oalex_venues.sql b/inst/sql/jct_oalex_venues.sql index a7b6345..ade6b1e 100644 --- a/inst/sql/jct_oalex_venues.sql +++ b/inst/sql/jct_oalex_venues.sql @@ -22,7 +22,7 @@ WITH my_jns AS ( oalex AS ( SELECT homepage_url, issn_l - FROM `subugoe-collaborative.openalex.sources` + FROM `subugoe-collaborative.openalex_walden.sources` WHERE works_count > 10 AND homepage_url IS NOT NULL )