8172_impact_indicators_workflow #284

Merged
miriam.baglioni merged 49 commits from 8172_impact_indicators_workflow into beta 2023-08-14 15:50:48 +02:00
1 changed files with 2 additions and 0 deletions
Showing only changes of commit 3d69f33c84 - Show all commits

View File

@ -131,8 +131,10 @@ cites_df = spark.read.json(graph_folder + "/relation")\
& (F.col('dataInfo.deletedbyinference') == "false")\
& (F.col('dataInfo.invisible') == "false"))\
.drop('dataInfo.deletedbyinference').drop('dataInfo.invisible')\
.drop('deletedbyinference').drop('invisible')\
.repartition(num_partitions, 'citing').drop('relClass')\
.withColumn('collected_lower', F.expr('transform(value, x -> lower(x))'))\
.drop('collectedfrom.value')\
.drop('value')\
.where(
(F.array_contains(F.col('collected_lower'), "opencitations"))