Hosted By Map - refactor of the first attemp to prepare a new hosted by map dependent on the datasource in the graph and on two external sources: the gold list from unibi ad the doaj list of open access journal. Both the lists are downloaded from provided url parameter

This commit is contained in:
Miriam Baglioni 2021-07-30 17:54:45 +02:00
parent d1807781c0
commit 613bd3bde0
1 changed files with 0 additions and 13 deletions

View File

@ -55,20 +55,7 @@ object SparkProduceHostedByMap {
} }
/**
*
def toHostedByMap(input: Map[String, HostedByItemType]): String = {
import org.json4s.jackson.Serialization
implicit val formats = org.json4s.DefaultFormats
Serialization.write(input)
}
*/
def getHostedByItemType(id:String, officialname: String, issn:String, eissn:String, issnl:String, oa:Boolean): HostedByItemType = { def getHostedByItemType(id:String, officialname: String, issn:String, eissn:String, issnl:String, oa:Boolean): HostedByItemType = {
if(issn != null){ if(issn != null){