Science Score: 18.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Unable to calculate vocabulary similarity
Last synced: 6 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: Nimitt-nim
  • Language: Jupyter Notebook
  • Default Branch: main
  • Size: 31.3 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 2 years ago · Last pushed over 2 years ago
Metadata Files
Readme Citation

README.md

FacultyRecruitmentPortalUpgradation

Owner

  • Login: Nimitt-nim
  • Kind: user

Citation (citation_from_doi.ipynb)

{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "-----------\n",
      "Bhatia, U, Kumar, D, Kodra, E, Ganguly, A (2015). Network Science Based Quantification of Resilience Demonstrated on the Indian Railways Network. PLOS ONE, 10(11). Public Library of Science (PLoS).https://doi.org/10.1371/journal.pone.0141890\n",
      "-----------\n",
      "Upadhyay, D, Mohapatra, P, Bhatia, U (2021). Depth‐Duration‐Frequency of Extreme Precipitation Events Under Internal Climate Variability: Indian Summer Monsoon. Journal of Geophysical Research: Atmospheres, 126(8). American Geophysical Union (AGU).https://doi.org/10.1029/2020JD034193\n",
      "-----------\n",
      "Dave, R, Choudhari, T, Maji, A, Bhatia, U (2022). Quantitative Framework for Establishing Low-Risk Inter-District Travel Corridors During COVID-19. Transportation Research Record: Journal of the Transportation Research Board, 2677(4). SAGE Publications.https://doi.org/10.1177/03611981211064994\n",
      "-----------\n",
      "Dave, R, Subramanian, S, Bhatia, U (2021). Extreme precipitation induced concurrent events trigger prolonged disruptions in regional road networks. Environmental Research Letters, 16(10). IOP Publishing.https://doi.org/10.1088/1748-9326/ac2d67\n",
      "-----------\n",
      "Clark, K, Bhatia, U, Kodra, E, Ganguly, A (2018). Resilience of the U.S. National Airspace System Airport Network. IEEE Transactions on Intelligent Transportation Systems, 19(12). Institute of Electrical and Electronics Engineers (IEEE).https://doi.org/10.1109/TITS.2017.2784391\n",
      "-----------\n",
      "Harilal, N, Singh, M, Bhatia, U (2021). Augmented Convolutional LSTMs for Generation of High-Resolution Climate Change Projections. IEEE Access, 9. Institute of Electrical and Electronics Engineers (IEEE).https://doi.org/10.1109/ACCESS.2021.3057500\n",
      "-----------\n",
      "Ishii, A, Arakaki, H, Matsuda, N, Umemura, S, Urushidani, T, Yamagata, N, Yoshida, N (2012). The ‘hit’ phenomenon: a mathematical model of human dynamics interactions as a stochastic process. New Journal of Physics, 14(6). IOP Publishing.https://doi.org/10.1088/1367-2630/14/6/063018\n",
      "-----------\n",
      "Invalid DOI\n",
      "-----------\n",
      "Bhatia, U, Ganguly, A (2019). Precipitation extremes and depth-duration-frequency under internal climate variability. Scientific Reports, 9(1). Springer Science and Business Media LLC.https://doi.org/10.1038/s41598-019-45673-3\n",
      "-----------\n",
      "Bhatia, U, Sela, L, Ganguly, A (2020). Hybrid Method of Recovery: Combining Topology and Optimization for Transportation Systems. Journal of Infrastructure Systems, 26(3). American Society of Civil Engineers (ASCE).https://doi.org/10.1061/(ASCE)IS.1943-555X.0000566\n",
      "-----------\n",
      "Invalid DOI\n",
      "-----------\n",
      "Dave, R, Subramanian, S, Bhatia, U (2021). Extreme precipitation induced concurrent events trigger prolonged disruptions in regional road networks. Environmental Research Letters, 16(10). IOP Publishing.https://doi.org/10.1088/1748-9326/ac2d67\n"
     ]
    }
   ],
   "source": [
    "import requests\n",
    "\n",
    "def get_apa_citation_from_doi(doi):\n",
    "    base_url = \"https://api.crossref.org/works/\"\n",
    "    url = f\"{base_url}{doi}\"\n",
    "\n",
    "    response = requests.get(url)\n",
    "\n",
    "    if response.status_code == 200:\n",
    "        data = response.json()\n",
    "        # print(data)\n",
    "        try :\n",
    "            title = data['message']['title'][0]\n",
    "        except KeyError:\n",
    "            title = ''\n",
    "            pass\n",
    "        try :\n",
    "            author_list = data['message']['author']\n",
    "            authors = \", \".join([f\"{author['family']}, {author['given'][0]}\" for author in author_list])\n",
    "        except KeyError:\n",
    "            authors = ''\n",
    "            pass\n",
    "        try :\n",
    "            year = data['message']['published']['date-parts'][0][0]\n",
    "        except KeyError:\n",
    "            year = ''\n",
    "            pass\n",
    "        try :\n",
    "            journal = data['message']['container-title'][0]\n",
    "        except KeyError:\n",
    "            journal = ''\n",
    "            pass\n",
    "        try :\n",
    "            volume = data['message']['volume']\n",
    "        except KeyError:\n",
    "            volume = ''\n",
    "            pass\n",
    "        try :\n",
    "            issue = '('+data['message']['issue']+')'\n",
    "        except KeyError:\n",
    "            issue = ''\n",
    "            pass\n",
    "        try:\n",
    "            publisher = data['message']['publisher']\n",
    "        except KeyError:\n",
    "            publisher = ''\n",
    "            pass\n",
    "        doi_url = f\"https://doi.org/{doi}\"\n",
    "        citation = f\"{authors} ({year}). {title}. {journal}, {volume}{issue}. {publisher}.{doi_url}\"\n",
    "        return citation\n",
    "\n",
    "    else:\n",
    "        return f\"Invalid DOI\"\n",
    "\n",
    "doi_list = [\"10.1371/journal.pone.0141890\",\n",
    "\"10.1029/2020JD034193\",\n",
    "\"10.1177/03611981211064994\",\n",
    "\"10.1088/1748-9326/ac2d67\",\n",
    "\"10.1109/TITS.2017.2784391\",\n",
    "\"10.1109/ACCESS.2021.3057500\",\n",
    "\"10.1088/1367-2630/14/6/063018\",\n",
    "\"10.48550/arXiv.1811.10497\",\n",
    "\"10.1038/s41598-019-45673-3\",\n",
    "\"10.1061/(ASCE)IS.1943-555X.0000566\",\n",
    "\"10.1061/(ASCE)IS.1943-555X566\",\n",
    "\"10.1088/1748-9326/ac2d67\"]\n",
    "\n",
    "for doi in doi_list:\n",
    "    print('-----------')\n",
    "    apa_citation = get_apa_citation_from_doi(doi)\n",
    "    print(apa_citation)\n",
    "\n"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "orig_nbformat": 4,
  "vscode": {
   "interpreter": {
    "hash": "aee8b7b246df8f9039afb4144a1f6fd8d2ca17a180786b69acc140d282b71a49"
   }
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}

GitHub Events

Total
Last Year