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

pull/136/head
Miriam Baglioni 3 years ago
parent d1807781c0
commit 613bd3bde0

@ -55,21 +55,8 @@ 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 = {
if(issn != null){
if(eissn != null){

Loading…
Cancel
Save