diff --git a/Procfile b/Procfile index 50cba61..99a9525 100644 --- a/Procfile +++ b/Procfile @@ -1 +1,2 @@ web: gunicorn app:server --timeout 300 +stats: python jobs/refresh_statistics.py \ No newline at end of file diff --git a/jobs/refresh_statistics.py b/jobs/refresh_statistics.py new file mode 100644 index 0000000..7fe6178 --- /dev/null +++ b/jobs/refresh_statistics.py @@ -0,0 +1,133 @@ +import json +import os +from datetime import datetime + +from apscheduler.schedulers.blocking import BlockingScheduler + +from matscholar_web.constants import rester + +""" +Generates the data for showing database statistics (preventing redundant +rester calls and prevent having to do caching nonsense). + +Output: /matscholar_web/assets/data/db_statistics.json + +To be run by either: +(a) The server host running a cronjob or scheduled job automatically +(b) You, the developer, if you haven't set up automatic script running on + deployments OR you just want to run it locally. +""" + +sched = BlockingScheduler() + + +@sched.scheduled_job('cron', hour=17) +def scheduled_job(): + update_live_stats() + + +def get_timestamp(): + """ + Get the time now, formatted as YYYY/MM/DD-HH:MM:SS + + Returns: + (str): The properly formatted date right now. + + """ + now = datetime.now() + return now.strftime("%Y/%m/%d-%H:%M:%S") + + +def get_debug_stats(): + """ + Get some stats in the same format as the rester but just for debugging + when the rester is down :( + + Returns: + (dict): Simulated data which get_live_stats would normally return. + + """ + stats = { + "materials": 298616, + "entities": 525690, + "abstracts": 4951267, + "journals": [ + "Journal of Materials Chemistry, A", + "Journal of Materials Chemistry, B", + "Journal of Materials Chemistry, C", + "Materials Horizons", + "Nature", + "Nature Materials", + "Computational Materials Science", + "Journal of Materials, Physics", + "Science", + "Nature Machine Intelligence", + "Physical Review A", + "Physical Review B", + "Physical Review Letters", + "Energy and Environmental Science", + "Frontiers in Materials", + "Joule", + "Matter", + "Cell", + "Angewandte Chemie International Edition", + "Advanced Functional Materials", + "Chemistry of Materials", + "Journal of Solid State Chemistry", + "Apl Materials", + "Nature Scientific Data", + "Electrochemistry Communications", + "Concurrency and Computation", + ] + * 10, + "timestamp": get_timestamp(), + } + return stats + + +def get_live_stats(): + """ + Get live stats from the database. + + Returns: + (dict): The stats on the db as python native objects or primitives. + + """ + rstats = rester.get_db_stats() + fstats = { + "abstracts": rstats["abstract_count"], + "materials": rstats["materials_count"], + "entities": rstats["entities_count"], + "journals": rester.get_journals(), + # "journal": None, + "timestamp": get_timestamp(), + } + + return fstats + + +def update_live_stats(debug=False): + stats = get_debug_stats() if debug else get_live_stats() + + # print(stats) + + thisdir = os.path.abspath(os.path.dirname(__file__)) + target = os.path.abspath( + os.path.join( + thisdir, "../matscholar_web/assets/data/db_statistics.json" + ) + ) + + with open(target, "w") as f: + json.dump(stats, f) + + timestamp = stats["timestamp"] + print(f"Statistics updated successfully at {timestamp}") + + +if __name__ == "__main__": + # Have server deployment run automatically + sched.start() + + # Generate it locally, manually + # update_live_stats() diff --git a/matscholar_web/assets/data/db_statistics.json b/matscholar_web/assets/data/db_statistics.json index d8d59c1..f187ca8 100644 --- a/matscholar_web/assets/data/db_statistics.json +++ b/matscholar_web/assets/data/db_statistics.json @@ -1,1578 +1 @@ -{ - "abstracts": 1984134, - "materials": 290952, - "entities": 518026, - "journals": ["Proceedings of OilGas Scientific Research Projects Institute, SOCAR", - "ASCE Manuals and Reports on Engineering Practice", - "Accident Analysis & Prevention", - "Acta Astronautica", - "Acta Biomaterialia", - "Acta Materialia", - "Acta Metallurgica Sinica (English Letters)", - "Acta Psychologica", - "Additive Manufacturing", - "Additives for Polymers", - "Adsorption", - "Advanced Composites and Hybrid Materials", - "Advanced Drug Delivery Reviews", - "Advanced Engineering Informatics", - "Advanced Powder Technology", - "Advanced Structural and Chemical Imaging", - "Advances in Colloid and Interface Science", - "Advances in Engineering Software", - "Advances in Space Research", - "Advances in Water Resources", - "Aerospace Science and Technology", - "Agricultural and Forest Meteorology", - "Ain Shams Engineering Journal", - "Alexandria Engineering Journal", - "Algal Research", - "Analyst", - "Analytic Methods in Accident Research", - "Analytica Chimica Acta", - "Analytical Methods", - "Analytical Ultracentrifugation VIII", - "Annals of Nuclear Energy", - "Annals of Physics", - "Annual Reviews in Control", - "Anthropocene", - "Antiviral Research", - "Applied Acoustics", - "Applied Adhesion Science", - "Applied Biochemistry and Biotechnology - Part B Molecular Biotechnology", - "Applied Catalysis A: General", - "Applied Catalysis B: Environmental", - "Applied Clay Science", - "Applied Composite Materials", - "Applied Energy", - "Applied Ergonomics", - "Applied Geochemistry", - "Applied Mathematics and Computation", - "Applied Nanoscience", - "Applied Ocean Research", - "Applied Physics A", - "Applied Radiation and Isotopes", - "Applied Soft Computing", - "Applied Surface Science", - "Applied Thermal Engineering", - "Aquaculture", - "Arabian Journal of Chemistry", - "Archives of Oral Biology", - "Archives of Physical Medicine and Rehabilitation", - "Astronomy and Computing", - "Astroparticle Physics", - "Atmospheric Environment", - "Atmospheric Research", - "Atomic Data and Nuclear Data Tables", - "Automatica", - "Automation in Construction", - "Bioactive Carbohydrates and Dietary Fibre", - "Biocybernetics and Biomedical Engineering", - "Bioelectrochemistry", - "Biomaterials", - "Biomaterials Research", - "Biomaterials Science", - "Biomedical Signal Processing and Control", - "Biometric Technology Today", - "Bioorganic & Medicinal Chemistry", - "Bioorganic & Medicinal Chemistry Letters", - "Bioorganic Chemistry", - "Biophysical Chemistry", - "Bioprinting", - "Bioresource Technology", - "Biosensors and Bioelectronics", - "Biotechnology Advances", - "Biotechnology Research & Innovation", - "Biotribology", - "Boundary Value Problems", - "Brain Research Bulletin", - "Building and Environment", - "Bulletin of Materials Science", - "Bulletin of the Academy of Sciences of the USSR Division of Chemical Science", - "Bulletin of the Russian Academy of Sciences: Physics", - "CATENA", - "CIRP Journal of Manufacturing Science and Technology", - "Calphad", - "Cancer Nanotechnology", - "Carbohydrate Polymers", - "Carbohydrate Research", - "Carbon", - "Caribbean Journal of Science", - "Case Studies in Construction Materials", - "Case Studies in Thermal Engineering", - "Catalysis Communications", - "Catalysis Letters", - "Catalysis Science & Technology", - "Catalysis Today", - "Catalysis in Industry", - "Cement and Concrete Composites", - "Cement and Concrete Research", - "Ceramics International", - "Chaos, Solitons & Fractals", - "Chemical Communications", - "Chemical Data Collections", - "Chemical Engineering Research and Design", - "Chemical Engineering Science", - "Chemical Geology", - "Chemical Papers", - "Chemical Physics", - "Chemical Physics Letters", - "Chemical Science", - "Chemical Society Reviews", - "Chemistry Education Research and Practice", - "Chemistry and Physics of Lipids", - "Chemistry of Materials", - "Chemometrics and Intelligent Laboratory Systems", - "Chiang Mai University Journal of Natural Sciences", - "Chinese Journal of Aeronautics", - "Chinese Journal of Physics", - "Chinese Science Bulletin", - "Civil Engineering", - "Climate Risk Management", - "Climate Services", - "Clinica Chimica Acta", - "Clinical Biomechanics", - "Clinical Mass Spectrometry", - "Coastal Engineering", - "Cold Regions Science and Technology", - "Colloids and Surfaces A: Physicochemical and Engineering Aspects", - "Colloids and Surfaces B: Biointerfaces", - "Combustion and Flame", - "Communications in Nonlinear Science and Numerical Simulation", - "Complexity", - "Composite Structures", - "Composites Part A: Applied Science and Manufacturing", - "Composites Part B: Engineering", - "Composites Science and Technology", - "Comptes Rendus Chimie", - "Comptes Rendus Geoscience", - "Comptes Rendus Palevol", - "Comptes Rendus Physique", - "Computational Biology and Chemistry", - "Computational Condensed Matter", - "Computational Materials Science", - "Computational and Theoretical Chemistry", - "Computer Methods in Applied Mechanics and Engineering", - "Computer-Aided Design", - "Computers & Chemical Engineering", - "Computers & Electrical Engineering", - "Computers & Fluids", - "Computers & Geosciences", - "Computers & Industrial Engineering", - "Computers & Structures", - "Computers and Geotechnics", - "Computers in Industry", - "Computers, Environment and Urban Systems", - "Construction and Building Materials", - "Continental Shelf Research", - "Contraception", - "Control Engineering Practice", - "Corrosion Science", - "Cretaceous Research", - "Crop Protection", - "CrossRef Listing of Deleted DOIs", - "Cryogenics", - "CrystEngComm", - "Crystallography Reports", - "Current Applied Physics", - "Current Opinion in Colloid & Interface Science", - "Current Opinion in Electrochemistry", - "Current Opinion in Environmental Sustainability", - "Current Opinion in Green and Sustainable Chemistry", - "Current Opinion in Solid State and Materials Science", - "Current Science", - "Dalton Transactions", - "Data in Brief", - "Defence Technology", - "Dental Materials", - "Desalination", - "Design Studies", - "Development Engineering", - "Diamond and Related Materials", - "Die Makromolekulare Chemie, Theory and Simulations", - "Discovery and Innovation", - "Displays", - "Dyes and Pigments", - "Dynamics of Atmospheres and Oceans", - "ECS Electrochemistry Letters", - "Earth and Planetary Science Letters", - "Earth-Science Reviews", - "Ecohydrology & Hydrobiology", - "Ecological Engineering", - "Education for Chemical Engineers", - "Egyptian Journal of Petroleum", - "Electric Power Systems Research", - "Electroanalysis", - "Electrochemical Energy Reviews", - "Electrochemical Letters", - "Electrochemistry Communications", - "Electrochimica Acta", - "Electronic Journal of Biotechnology", - "Electronic Materials Letters", - "Energy", - "Energy & Environmental Science", - "Energy Conversion and Management", - "Energy Economics", - "Energy Policy", - "Energy Procedia", - "Energy Reports", - "Energy Research & Social Science", - "Energy Strategy Reviews", - "Energy and Buildings", - "Energy for Sustainable Development", - "Engineering", - "Engineering Analysis with Boundary Elements", - "Engineering Applications of Artificial Intelligence", - "Engineering Failure Analysis", - "Engineering Fracture Mechanics", - "Engineering Geology", - "Engineering Science and Technology, an International Journal", - "Engineering Structures", - "Engineering in Agriculture, Environment and Food", - "Environmental Science & Policy", - "Environmental Science: Nano", - "Environmental Science: Processes & Impacts", - "Enzyme and Microbial Technology", - "Estuarine, Coastal and Shelf Science", - "EuPA Open Proteomics", - "European Journal of Agronomy", - "European Journal of Control", - "European Journal of Medicinal Chemistry", - "European Journal of Pharmaceutical Sciences", - "European Journal of Pharmacology", - "European Polymer Journal", - "European Transactions on Telecommunications", - "Experimental Techniques", - "Experimental Thermal and Fluid Science", - "Expert Systems with Applications", - "Extreme Mechanics Letters", - "Faraday Discussions", - "Finite Elements in Analysis and Design", - "Fire Safety Journal", - "Fisheries Research", - "Fitoterapia", - "FlatChem", - "Flow Measurement and Instrumentation", - "Fluid Phase Equilibria", - "Food & Function", - "Food Hydrocolloids", - "Forensic Chemistry", - "Forensic Science International", - "Forensic Science International Supplement Series", - "Forensic Science International: Genetics", - "Forest Ecology and Management", - "Foundations of Science", - "Frontiers of Chemical Science and Engineering", - "Frontiers of Materials Science", - "Fuel", - "Fuel Processing Technology", - "Fusion Engineering and Design", - "Fuzzy Sets and Systems", - "Gait & Posture", - "Genomics Data", - "Geochemistry", - "Geochimica et Cosmochimica Acta", - "Geoderma", - "Geoderma Regional", - "Geomechanics for Energy and the Environment", - "Geomorphology", - "Geoscience Frontiers", - "Geotextiles and Geomembranes", - "Geothermics", - "Glass Physics and Chemistry", - "Glass and Ceramics", - "Global and Planetary Change", - "Gold Bulletin", - "Gondwana Research", - "Graphene Technology", - "Green Chemistry", - "HBRC Journal", - "HKIE Transactions", - "HKIE Transactions Hong Kong Institution of Engineers", - "Heliyon", - "Heritage Science", - "High Energy Chemistry", - "High Energy Density Physics", - "Hydrometallurgy", - "ICT Express", - "IEEE Journal of Selected Topics in Quantum Electronics", - "IFAC-PapersOnLine", - "III-Vs Review", - "ISPRS Journal of Photogrammetry and Remote Sensing", - "Icarus", - "Image and Vision Computing", - "Indonesian Journal of Cardiology", - "Industrial Crops and Products", - "Information Fusion", - "Information Sciences", - "Infrared Physics & Technology", - "Inorganic Chemistry Communications", - "Inorganic Materials", - "Inorganic Materials: Applied Research", - "Inorganica Chimica Acta", - "Integrating Materials and Manufacturing Innovation", - "Integration", - "Integrative Biology", - "Interface Science", - "Intermetallics", - "International Biodeterioration & Biodegradation", - "International Communications in Heat and Mass Transfer", - "International Journal of Adhesion and Adhesives", - "International Journal of Applied Earth Observation and Geoinformation", - "International Journal of Approximate Reasoning", - "International Journal of Coal Geology", - "International Journal of Disaster Risk Reduction", - "International Journal of Electrical Power & Energy Systems", - "International Journal of Engineering Science", - "International Journal of Fracture Mechanics", - "International Journal of Greenhouse Gas Control", - "International Journal of Heat and Fluid Flow", - "International Journal of Heat and Mass Transfer", - "International Journal of Hydrogen Energy", - "International Journal of Impact Engineering", - "International Journal of Industrial Chemistry", - "International Journal of Industrial Ergonomics", - "International Journal of Machine Tools and Manufacture", - "International Journal of Mass Spectrometry", - "International Journal of Mechanical Sciences", - "International Journal of Metalcasting", - "International Journal of Mining Science and Technology", - "International Journal of Multiphase Flow", - "International Journal of Naval Architecture and Ocean Engineering", - "International Journal of Non-Linear Mechanics", - "International Journal of Pavement Research and Technology", - "International Journal of Production Economics", - "International Journal of Project Management", - "International Journal of Psychophysiology", - "International Journal of Radiation Oncology*Biology*Physics", - "International Journal of Refractory Metals and Hard Materials", - "International Journal of Refrigeration", - "International Journal of Rock Mechanics and Mining Sciences", - "International Journal of Self-Propagating High-Temperature Synthesis", - "International Journal of Solids and Structures", - "International Journal of Thermal Sciences", - "International Journal of Transportation Science and Technology", - "International Journal of e-Navigation and Maritime Economy", - "International Nano Letters", - "Ionics", - "J Electrochem Soc", - "J. Chem. Soc., Faraday Trans.", - "J. Phys. D: Appl. Phys.", - "J. VAC. SCI. & TECHNOL. A, PART I", - "J. VAC. SCI. TECHNOL. A", - "J. WIND ENGINEERING & INDUSTRIAL AERODYNAMICS", - "JCT Research", - "JETP Letters", - "JP Journal of Heat and Mass Transfer", - "Journal - American Water Works Association", - "Journal of Advanced Ceramics", - "Journal of Advanced Research", - "Journal of Aerosol Science", - "Journal of Alloys and Compounds", - "Journal of Analytical Atomic Spectrometry", - "Journal of Analytical and Applied Pyrolysis", - "Journal of Applied Electrochemistry", - "Journal of Applied Geophysics", - "Journal of Applied Metalworking", - "Journal of Applied Science and Engineering", - "Journal of Archaeological Science", - "Journal of Asian Ceramic Societies", - "Journal of Atmospheric and Solar-Terrestrial Physics", - "Journal of Bio- and Tribo-Corrosion", - "Journal of Bioscience and Bioengineering", - "Journal of Biotechnology", - "Journal of Building Engineering", - "Journal of CO2 Utilization", - "Journal of Catalysis", - "Journal of Chemical Crystallography", - "Journal of Chemical Health and Safety", - "Journal of Chemical Sciences", - "Journal of Chemical Sciences: Formerly: Proceedings (Chemical Sciences)", - "Journal of Cleaner Production", - "Journal of Coatings Technology", - "Journal of Coatings Technology and Research", - "Journal of Colloid and Interface Science", - "Journal of Commodity Markets", - "Journal of Computational Design and Engineering", - "Journal of Computational Physics", - "Journal of Computer-Assisted Microscopy", - "Journal of Constructional Steel Research", - "Journal of Controlled Release", - "Journal of Crystal Growth", - "Journal of Crystal and Molecular Structure", - "Journal of Crystallographic and Spectroscopic Research", - "Journal of Cultural Heritage", - "Journal of Dynamic Behavior of Materials", - "Journal of Electrical Systems and Information Technology", - "Journal of Electroanalytical Chemistry", - "Journal of Electroceramics", - "Journal of Electromyography and Kinesiology", - "Journal of Electron Microscopy", - "Journal of Electron Spectroscopy and Related Phenomena", - "Journal of Electronic Materials", - "Journal of Electrostatics", - "Journal of Energy Chemistry", - "Journal of Energy Storage", - "Journal of Ethnopharmacology", - "Journal of Experimental Marine Biology and Ecology", - "Journal of Failure Analysis and Prevention", - "Journal of Fluids and Structures", - "Journal of Fluorine Chemistry", - "Journal of Geochemical Exploration", - "Journal of Geodynamics", - "Journal of Geometry and Physics", - "Journal of Hazardous Materials", - "Journal of Hydrology", - "Journal of Industrial and Engineering Chemistry", - "Journal of Inorganic Biochemistry", - "Journal of Inorganic and Organometallic Polymers and Materials", - "Journal of Investigative Dermatology", - "Journal of Iron and Steel Research, International", - "Journal of King Saud University - Engineering Sciences", - "Journal of King Saud University - Science", - "Journal of Loss Prevention in the Process Industries", - "Journal of Luminescence", - "Journal of Magnesium and Alloys", - "Journal of Magnetic Resonance", - "Journal of Magnetism and Magnetic Materials", - "Journal of Manufacturing Processes", - "Journal of Marine Systems", - "Journal of Materials Engineering", - "Journal of Materials Engineering and Performance", - "Journal of Materials Processing Technology", - "Journal of Materials Research and Technology", - "Journal of Materials Science & Technology", - "Journal of Materials Science Letters", - "Journal of Materials Science: Materials in Electronics", - "Journal of Materials Science: Materials in Medicine", - "Journal of Materials Shaping Technology", - "Journal of Materials Synthesis and Processing", - "Journal of Materials for Energy Systems", - "Journal of Materiomics", - "Journal of Membrane Science", - "Journal of Molecular Graphics and Modelling", - "Journal of Molecular Liquids", - "Journal of Molecular Spectroscopy", - "Journal of Molecular Structure", - "Journal of Molecular Structure: THEOCHEM", - "Journal of Nanoparticle Research", - "Journal of Nanostructure in Chemistry", - "Journal of Natural Gas Science and Engineering", - "Journal of Non-Crystalline Solids", - "Journal of Non-Newtonian Fluid Mechanics", - "Journal of Nuclear Materials", - "Journal of Ocean Engineering and Science", - "Journal of Operations Management", - "Journal of Organometallic Chemistry", - "Journal of Palaeogeography", - "Journal of Petroleum Science and Engineering", - "Journal of Pharmaceutical Analysis", - "Journal of Pharmaceutical and Biomedical Analysis", - "Journal of Phase Equilibria and Diffusion", - "Journal of Photochemistry and Photobiology C: Photochemistry Reviews", - "Journal of Photonics for Energy", - "Journal of Photopolymer Science and Technology", - "Journal of Physical Agents", - "Journal of Physical Organic Chemistry", - "Journal of Physical Science", - "Journal of Physical and Chemical Reference Data", - "Journal of Physics A: Mathematical and Theoretical", - "Journal of Physics G: Nuclear and Particle Physics", - "Journal of Physics and Chemistry of Solids", - "Journal of Physics: Conference Series", - "Journal of Pipeline Systems Engineering and Practice", - "Journal of Plasma Physics", - "Journal of Plastic, Reconstructive & Aesthetic Surgery", - "Journal of Polymer Engineering", - "Journal of Polymer Research", - "Journal of Porous Materials", - "Journal of Porous Media", - "Journal of Porphyrins and Phthalocyanines", - "Journal of Power Electronics", - "Journal of Power Sources", - "Journal of Pressure Vessel Technology", - "Journal of Pressure Vessel Technology, Transactions of the ASME", - "Journal of Print and Media Technology Research", - "Journal of Process Control", - "Journal of Professional Issues in Engineering Education and Practice", - "Journal of Proteome Research", - "Journal of Quality", - "Journal of Quality Technology", - "Journal of Quality and Reliability Engineering", - "Journal of Quality in Maintenance Engineering", - "Journal of Raman Spectroscopy", - "Journal of Rare Earths", - "Journal of Reinforced Plastics and Composites", - "Journal of Remanufacturing", - "Journal of Renewable Materials", - "Journal of Renewable and Sustainable Energy", - "Journal of Reports in Pharmaceutical Sciences", - "Journal of Research of the National Institute of Standards and Technology", - "Journal of Risk Research", - "Journal of Robotics", - "Journal of Robotics and Mechatronics", - "Journal of Rock Mechanics and Geotechnical Engineering", - "Journal of Russian Laser Research", - "Journal of Saudi Chemical Society", - "Journal of Scheduling", - "Journal of Scholarly Publishing", - "Journal of School Violence", - "Journal of Science Education and Technology", - "Journal of Scientific Computing", - "Journal of Security and Sustainability Issues", - "Journal of Semiconductors", - "Journal of Sensor and Actuator Networks", - "Journal of Sensors", - "Journal of Sensors and Sensor Systems", - "Journal of Shanghai Jiaotong University (Science)", - "Journal of Ship Production and Design", - "Journal of Ship Research", - "Journal of Signal Processing Systems", - "Journal of Solar Energy Engineering", - "Journal of Solar Energy Engineering, Transactions of the ASME", - "Journal of Solid Mechanics", - "Journal of Solid State Chemistry", - "Journal of Solid State Electrochemistry", - "Journal of Solution Chemistry", - "Journal of Sound and Vibration", - "Journal of South American Earth Sciences", - "Journal of Southeast University (English Edition)", - "Journal of Space Safety Engineering", - "Journal of Spectral Theory", - "Journal of Spectroscopy", - "Journal of Statistical Mechanics: Theory and Experiment", - "Journal of Statistical Physics", - "Journal of Strain Analysis", - "Journal of Structural Chemistry", - "Journal of Structural Fire Engineering", - "Journal of Structural Geology", - "Journal of Sulfur Chemistry", - "Journal of Superconductivity", - "Journal of Superconductivity and Novel Magnetism", - "Journal of Superhard Materials", - "Journal of Surface Investigation", - "Journal of Surface Science and Technology", - "Journal of Surfactants and Detergents", - "Journal of Surveying Engineering", - "Journal of Sustainable Cement-Based Materials", - "Journal of Sustainable Development of Energy, Water and Environment Systems", - "Journal of Sustainable Forestry", - "Journal of Sustainable Mining", - "Journal of Systems Chemistry", - "Journal of Systems Engineering and Electronics", - "Journal of Systems Science and Systems Engineering", - "Journal of Taibah University Medical Sciences", - "Journal of Technology Education", - "Journal of Terramechanics", - "Journal of Textile Engineering", - "Journal of Theoretical and Applied Mechanics (Bulgaria)", - "Journal of Theoretical and Applied Physics", - "Journal of Theoretical and Computational Chemistry", - "Journal of Thermal Analysis and Calorimetry", - "Journal of Thermal Engineering", - "Journal of Thermal Science", - "Journal of Thermal Spray Technology", - "Journal of Thermal Stresses", - "Journal of Thermodynamics", - "Journal of Thermoplastic Composite Materials", - "Journal of Tissue Engineering", - "Journal of Tissue Engineering and Regenerative Medicine", - "Journal of Trace Elements in Medicine and Biology", - "Journal of Traffic and Transportation Engineering (English Edition)", - "Journal of Transportation Engineering", - "Journal of Tribology", - "Journal of Turbomachinery", - "Journal of Turbulence", - "Journal of Unconventional Oil and Gas Resources", - "Journal of Urban Planning and Development", - "Journal of Vacuum Science & Technology B, Nanotechnology and Microelectronics: Materials, Processing, Measurement, and Phenomena", - "Journal of Vacuum Science & Technology B: Microelectronics and Nanometer Structures", - "Journal of Vibration and Acoustics", - "Journal of Vibration and Acoustics, Transactions of the ASME", - "Journal of Vibrational Engineering and Technologies", - "Journal of Vinyl Technology", - "Journal of Vinyl and Additive Technology", - "Journal of Visual Communication and Image Representation", - "Journal of Visualized Experiments", - "Journal of Volcanology and Geothermal Research", - "Journal of Water Process Engineering", - "Journal of Water Reuse and Desalination", - "Journal of Women and Minorities in Science and Engineering", - "Journal of Wuhan University of Technology-Mater. Sci. Ed.", - "Journal of X-ray science and technology", - "Journal of Zhejiang University: Science A", - "Journal of the ACM", - "Journal of the ACM (JACM)", - "Journal of the Brazilian Society of Mechanical Sciences and Engineering", - "Journal of the Chemical Society, Dalton Transactions", - "Journal of the Chemical Society, Perkin Transactions 1", - "Journal of the Chinese Institute of Civil and Hydraulic Engineering", - "Journal of the Energy Institute", - "Journal of the European Optical Society", - "Journal of the ICRU", - "Journal of the IEST", - "Journal of the Indian Academy of Wood Science", - "Journal of the Indian Institute of Science", - "Journal of the Institute of Conservation", - "Journal of the Institute of Image Electronics Engineers of Japan", - "Journal of the International Association for Shell and Spatial Structures", - "Journal of the Korean Physical Society", - "Journal of the Korean Society of Clothing and Textiles", - "Journal of the Korean Wood Science and Technology", - "Journal of the Mechanical Behavior of Biomedical Materials", - "Journal of the Mechanical Behavior of Materials", - "Journal of the Mechanics and Physics of Solids", - "Journal of the National Science Foundation of Sri Lanka", - "Journal of the Optical Society of America A: Optics and Image Science, and Vision", - "Journal of the Optical Society of America B: Optical Physics", - "Journal of the Optical Society of Korea", - "Journal of the Serbian Society for Computational Mechanics", - "Journal of the Society for Information Display", - "Journal of the Society of Architectural Historians", - "Journal of the South African Institution of Civil Engineering", - "Journal of the Taiwan Institute of Chemical Engineers", - "Journal of visualized experiments : JoVE", - "Jurnal Teknologi", - "Jurnal Teknologi (Sciences and Engineering)", - "KONA Powder and Particle Journal", - "KSCE Journal of Civil Engineering", - "Karbala International Journal of Modern Science", - "Keramische Zeitschrift", - "Kinematics and Physics of Celestial Bodies", - "Kinetics and Catalysis", - "Knowledge-Based Systems", - "Korea-Australia Rheology Journal", - "Korean Journal of Chemical Engineering", - "KronoScope", - "Kybernetes", - "Kybernetika", - "LASER THERAPY", - "LEUKOS", - "LEUKOS - Journal of Illuminating Engineering Society of North America", - "La Rivista del Nuovo Cimento: La Rivista del Nuovo Cimento Series 3", - "Lab Chip", - "Lab on a Chip - Miniaturisation for Chemistry and Biology", - "Langmuir", - "Langmuir : the ACS journal of surfaces and colloids", - "Laser Physics", - "Laser Physics Letters", - "Laser Therapy", - "Lasers in Manufacturing and Materials Processing", - "Latin American Journal of Solids and Structures", - "Latvian Journal of Physics and Technical Sciences", - "Learning, Media and Technology", - "Leather and Footwear Journal", - "Leonardo", - "Leonardo Music Journal", - "Letters in Mathematical Physics", - "Letters in Mathematical Physics: A Journal for the Rapid Dissemination of Short Contributions in the Field of Mathematical Physics", - "Letters in Organic Chemistry", - "Life Sciences", - "Life Sciences in Space Research", - "Lighting Research & Technology", - "Limnology and Oceanography: Methods", - "Lipid Technology", - "Lipids", - "Liquid Crystals", - "Liquid Crystals Reviews", - "Liquid Crystals Today", - "Lithos", - "Lithuanian Journal of Physics", - "Living Reviews in Solar Physics", - "Logistics Journal", - "Logistics Research", - "Logos (Netherlands)", - "Loisir et Societe", - "Loisir et Société / Society and Leisure", - "Lubricants", - "Lubrication Science", - "Luminescence", - "Luminescence : the journal of biological and chemical luminescence", - "MEASUREMENT & CONTROL", - "METU JOURNAL OF THE FACULTY OF ARCHITECTURE", - "METU Journal of Faculty of Architecture", - "MM Science Journal", - "MRS Communications", - "Macedonian Journal of Chemistry and Chemical Engineering", - "Machines", - "Machining Science and Technology", - "Macromolecular Chemistry and Physics", - "Macromolecular Materials and Engineering", - "Macromolecular Reaction Engineering", - "Macromolecular Research", - "Macromolecular Symposia", - "Macromolecular Theory and Simulations", - "Macromolecules", - "Magnetic Resonance Imaging", - "Magnetic Resonance in Chemistry", - "Magnetic resonance in chemistry : MRC", - "Magnetohydrodynamics", - "Main Group Chemistry", - "Main Group Metal Chemistry", - "Makromolekulare Chemie. Macromolecular Symposia", - "Management and Production Engineering Review", - "Manufacturing Letters", - "Manufacturing Review", - "Manufacturing Technology", - "Marine Chemistry", - "Marine Geology", - "Marine Micropaleontology", - "Marine Structures", - "Marine Technology Society Journal", - "Marine and Petroleum Geology", - "Maritime Affairs", - "Maritime Affairs: Journal of the National Maritime Foundation of India", - "Maritime Engineering", - "Mass Spectrometry Letters", - "Materials & Design", - "Materials & Design (1980-2015)", - "Materials Characterization", - "Materials Chemistry Frontiers", - "Materials Chemistry and Physics", - "Materials Discovery", - "Materials Express", - "Materials Horizons", - "Materials Letters", - "Materials Performance and Characterization", - "Materials Physics and Mechanics", - "Materials Research", - "Materials Research Bulletin", - "Materials Research Express", - "Materials Science", - "Materials Science Forum", - "Materials Science in Semiconductor Processing", - "Materials Theory", - "Materials Today", - "Materials Today Chemistry", - "Materials Today Communications", - "Materials Today Energy", - "Materials Today: Proceedings", - "Materials and Manufacturing Processes", - "Materials at High Temperatures", - "Materials for Renewable and Sustainable Energy", - "Mathematical Methods in the Applied Sciences", - "Mathematical Problems in Engineering", - "Mathematical and Computer Modelling", - "Mathematical and Computer Modelling of Dynamical Systems", - "Mathematics and Mechanics of Complex Systems", - "Matter and Radiation at Extremes", - "Meas Control", - "Measurement", - "Measurement Science Review", - "Measurement Science and Technology", - "Measurement Techniques", - "Measurement and Control", - "Measurement and Control (United Kingdom)", - "Measurement: Journal of the International Measurement Confederation", - "Meccanica", - "Mechanical Sciences", - "Mechanical Systems and Signal Processing", - "Mechanics", - "Mechanics Based Design of Structures and Machines", - "Mechanics Research Communications", - "Mechanics of Advanced Materials and Structures", - "Mechanics of Composite Materials", - "Mechanics of Materials", - "Mechanics of Solids", - "Mechanika", - "Mechanism and Machine Theory", - "Mechatronic Systems and Control", - "Mechatronics", - "MedChemComm", - "Medical Devices: Evidence and Research", - "Medical Hypotheses", - "Medical Ultrasonography", - "Medicinal Chemistry Research", - "Medicinal Plants", - "Medicinal Plants - International Journal of Phytomedicines and Related Industries", - "Membrane Water Treatment", - "Mendeleev Communications", - "Mesophases, Polymers, and Particles", - "Metabolic Engineering", - "Metabolic Engineering Communications", - "Metal Finishing", - "Metal Ions in Life Sciences", - "Metal Powder Report", - "Metal Science and Heat Treatment", - "Metal Science and Heat Treatment of Metals", - "Metallography, Microstructure, and Analysis", - "Metallomics", - "Metallomics : integrated biometal science", - "Metallurgical and Materials Transactions A: Physical Metallurgy and Materials Science", - "Metallurgist", - "Metals and Materials", - "Metals and Materials International", - "Metamaterials", - "Methods in Oceanography", - "Metode", - "Metrologia", - "Metrology and Measurement Systems", - "Metu Journal of the Faculty of Architecture", - "Micro and Nanosystems", - "Microarrays", - "Microbial Biotechnology", - "Microchemical Journal", - "Microelectronic Engineering", - "Microelectronics International", - "Microelectronics International: An International Journal", - "Microelectronics Journal", - "Microelectronics Reliability", - "Microfluidics and Nanofluidics", - "Micromachines", - "Micron", - "Microporous and Mesoporous Materials", - "Microprocessors and Microsystems", - "Microscale Thermophysical Engineering", - "Microscopy", - "Microscopy (Oxford, England)", - "Microscopy and Microanalysis", - "Microscopy and microanalysis : the official journal of Microscopy Society of America, Microbeam Analysis Society, Microscopical Society of Canada", - "Microsystem Technologies", - "Microwave and Optical Technology Letters", - "Mikrochemie", - "Mikrochemie / Mikrochimica Acta", - "Military Operations Research", - "Minerals Engineering", - "Minerals and Metallurgical Processing", - "Minerva Biotecnologica", - "Mini-Reviews in Organic Chemistry", - "Mining Report", - "Mobile Media and Communication", - "Modeling, Identification and Control", - "Modeling, Identification and Control: A Norwegian Research Bulletin", - "Modelling and Simulation in Engineering", - "Modelling and Simulation in Materials Science and Engineering", - "MolBank", - "Molbank", - "Molecular Astrophysics", - "Molecular BioSystems", - "Molecular Catalysis", - "Molecular Crystals and Liquid Crystals", - "Molecular Diversity", - "Molecular Physics", - "Molecular Simulation", - "Molecules", - "Molecules (Basel, Switzerland)", - "Moscow University Chemistry Bulletin", - "Moscow University Mechanics Bulletin", - "Moscow University Physics Bulletin", - "Multibody System Dynamics", - "Multidiscipline Modeling in Materials and Structures", - "Multimedia Systems", - "Multiphase Science and Technology", - "NDT & E International", - "NMR in Biomedicine", - "NPG Asia Materials", - "Nano Biomedicine and Engineering", - "Nano Communication Networks", - "Nano Convergence", - "Nano Energy", - "Nano LIFE", - "Nano Letters", - "Nano Research", - "Nano Today", - "Nano-Micro Letters", - "Nano-Structures & Nano-Objects", - "NanoImpact", - "Nanobiomedicine", - "Nanomaterials and Nanotechnology", - "Nanomedicine", - "Nanomedicine (London, England)", - "Nanophotonics", - "Nanoscale", - "Nanoscale Horizons", - "Nanoscale Res Lett", - "Nanoscale Research Letters", - "Nanoscale and Microscale Thermophysical Engineering", - "Nanoscience &Nanotechnology-Asia", - "Nanoscience and Nanotechnology - Asia", - "Nanoscience and Nanotechnology Letters", - "Nanotechnologies in Russia", - "Nanotechnology Perceptions", - "Nanotechnology Reviews", - "Nanotechnology, Science and Applications", - "Nanotoxicology", - "Nat. Prod. Rep.", - "National Academy Science Letters", - "National Science Review", - "Natural Hazards Review", - "Natural Product Research", - "Natural Product Sciences", - "Nature", - "Nature Astronomy", - "Nature Biomedical Engineering", - "Nature Materials", - "Nature Photonics", - "Nature Physics", - "Nature Reviews Chemistry", - "Nature Reviews Materials", - "Naukovyi Visnyk Natsionalnoho Hirnychoho Universytetu", - "Naval Engineers Journal", - "Naval Research Logistics", - "Naval Research Logistics (NRL)", - "Navigation", - "Navigation, Journal of the Institute of Navigation", - "Neiranji Gongcheng/Chinese Internal Combustion Engine Engineering", - "Networks and Heterogeneous Media", - "Neural Networks", - "Neuroscience", - "Neuroscience Letters", - "Neutron News", - "New Astronomy", - "New Astronomy Reviews", - "New Biotechnology", - "New Carbon Materials", - "New J. Chem.", - "New Journal of Chemistry", - "New Journal of Physics", - "New Review of Hypermedia and Multimedia", - "New Scientist", - "New Space", - "New Zealand Journal of Forestry Science", - "Nexus Network Journal", - "Noise Control Engineering Journal", - "Non-ferrous Metals", - "Nonlinear Analysis: Hybrid Systems", - "Nonlinear Analysis: Real World Applications", - "Nonlinear Dynamics", - "Nonlinear Engineering", - "Nonlinear Processes in Geophysics", - "Nonlinearity", - "Nova Biotechnologica et Chimica", - "Nucl Fusion", - "Nuclear Data Sheets", - "Nuclear Engineering and Design", - "Nuclear Engineering and Technology", - "Nuclear Fusion", - "Nuclear Inst. and Methods in Physics Research, A", - "Nuclear Materials and Energy", - "Nuclear Medicine and Biology", - "Nuclear Physics News", - "Nuclear Science and Engineering", - "Nuclear Science and Techniques", - "Nuclear Science and Techniques/Hewuli", - "Nuclear Technology", - "Nuclear Technology and Radiation Protection", - "Nuclear and Particle Physics Proceedings", - "Nukleonika", - "Numerical Heat Transfer, Part B: Fundamentals", - "Ocean & Coastal Management", - "Ocean Modelling", - "Ocean Systems Engineering", - "Oceanologia", - "Oil & Gas Science and Technology – Revue d’IFP Energies nouvelles", - "Oil Shale", - "Oil and Gas Science and Technology", - "Oil and Gas Science and Technology - Revue de lInstitut Francais du Petrole", - "Open Access Bioinformatics", - "Open Astronomy", - "Open Bioinformatics Journal", - "Open Cybernetics and Systemics Journal", - "Open Fuels and Energy Science Journal", - "Open Petroleum Engineering Journal", - "Open Physics", - "Open Systems & Information Dynamics", - "Operations Management Research", - "Operations Research Letters", - "Optica", - "Optical Engineering", - "Optical Fiber Technology", - "Optical Materials", - "Optical Materials Express", - "Optical Memory and Neural Networks", - "Optical Memory and Neural Networks (Information Optics)", - "Optical Review", - "Optical Switching and Networking", - "Optical and Quantum Electronics", - "Optics & Laser Technology", - "Optics Communications", - "Optics Letters", - "Optics and Lasers in Engineering", - "Optics and Spectroscopy (English translation of Optika i Spektroskopiya)", - "Optik", - "Optik (Jena)", - "Optik - International Journal for Light and Electron Optics", - "Optimal Control Applications and Methods", - "Optimization and Engineering", - "Optoelectronics Letters", - "Optoelectronics, Instrumentation and Data Processing", - "Oral Oncology Extra", - "Ore Geology Reviews", - "Organic & Biomolecular Chemistry", - "Organic & biomolecular chemistry", - "Organic Communications", - "Organic Electronics", - "Organic Geochemistry", - "Organic Letters", - "Organic Magnetic Resonance", - "Organic Preparations and Procedures International", - "Organogenesis", - "Organometallic Chemistry", - "Organometallics", - "Oriental Journal of Chemistry", - "Osteoarthritis and Cartilage", - "Oxidation of Metals", - "PET Clinics", - "PROC. INSTITUTION CIVIL ENGINEERS: CIVIL ENGINEERING", - "PROMET - Traffic&Transportation", - "Pacific Science", - "Packaging Technology and Science", - "Packaging, Transport, Storage and Security of Radioactive Material", - "Palaeogeography, Palaeoclimatology, Palaeoecology", - "Particulate Science and Technology", - "Particuology", - "Peace Review", - "Periodica Polytechnica Social and Management Sciences", - "Periodica Polytechnica Transportation Engineering", - "Periodica polytechnica Electrical engineering and computer science", - "Perspectives on Science", - "Petrochemical Equipment", - "Petroleum Chemistry", - "Petroleum Exploration and Development", - "Petroleum Geoscience", - "Petroleum Science", - "Petroleum Science and Technology", - "Pharmaceutical Research", - "Pharmaceutical Research: An Official Journal of the American Association of Pharmaceutical Scientists", - "Pharmacology & Therapeutics", - "Phase Transitions", - "Philosophical Magazine", - "Philosophical Magazine Letters", - "Philosophical transactions. Series A, Mathematical, physical, and engineering sciences", - "Photoacoustics", - "Photochem. Photobiol. Sci.", - "Photonic Network Communications", - "Photonic Sensors", - "Photonics", - "Photonics Letters of Poland", - "Photonics Research", - "Photonics Spectra", - "Photonics and Nanostructures - Fundamentals and Applications", - "Physica A: Statistical Mechanics and its Applications", - "Physica B: Condensed Matter", - "Physica C: Superconductivity", - "Physica C: Superconductivity and its Applications", - "Physica D: Nonlinear Phenomena", - "Physica E: Low-dimensional Systems and Nanostructures", - "Physica Medica", - "Physica Scripta", - "Physica Status Solidi (B) Basic Research", - "Physica Status Solidi (C) Current Topics in Solid State Physics", - "Physica Status Solidi (b)", - "Physica Status Solidi - Rapid Research Letters", - "Physical Chemistry Chemical Physics", - "Physical Chemistry Research", - "Physical Communication", - "Physical Review A - Atomic, Molecular, and Optical Physics", - "Physical Review Applied", - "Physical Review B - Condensed Matter and Materials Physics", - "Physical Review E - Statistical, Nonlinear, and Soft Matter Physics", - "Physical Review Letters", - "Physical chemistry chemical physics : PCCP", - "Physics & Imaging in Radiation Oncology", - "Physics Education", - "Physics Essays", - "Physics Letters, Section B: Nuclear, Elementary Particle and High-Energy Physics", - "Physics and Chemistry of Glasses: European Journal of Glass Science and Technology Part B", - "Physics and Chemistry of Liquids", - "Physics and Chemistry of the Earth", - "Physics and Chemistry of the Earth, Parts A/B/C", - "Physics in Medicine", - "Physics in Medicine and Biology", - "Physics of Fluids", - "Physics of Life Reviews", - "Physics of Particles and Nuclei", - "Physics of Plasmas", - "Physics of Wave Phenomena", - "Physics of the Dark Universe", - "Physics of the Earth and Planetary Interiors", - "Physics of the Solid State", - "Physics-Uspekhi", - "Physiological Measurement", - "Phytochemical Analysis", - "Phytochemistry", - "Phytochemistry Letters", - "Phytomedicine", - "Plant Foods for Human Nutrition", - "Plasma Chemistry and Plasma Processing", - "Plasma Medicine", - "Plasma Physics Reports", - "Plasma Physics and Controlled Fusion", - "Plasma Processes and Polymers", - "Plasma Science and Technology", - "Plasma Sources Science and Technology", - "Plasma and Fusion Research", - "Plasmonics", - "Plastics, Additives and Compounding", - "Plastics, Rubber and Composites", - "Poiesis und Praxis", - "Polar Science", - "Polish Journal of Chemical Technology", - "Polycyclic Aromatic Compounds", - "Polyhedron", - "Polymer (Korea)", - "Polymer Bulletin", - "Polymer Chemistry", - "Polymer Composites", - "Polymer Degradation and Stability", - "Polymer International", - "Polymer Journal", - "Polymer Reviews", - "Polymer Testing", - "Polymers and Polymer Composites", - "Polymers for Advanced Technologies", - "Portugaliae Electrochimica Acta", - "Powder Metallurgy", - "Powder Technology", - "Practical Failure Analysis", - "Practice Periodical on Structural Design and Construction", - "Pramana", - "Precambrian Research", - "Precision Engineering", - "Presence: Teleoperators and Virtual Environments", - "Probabilistic Engineering Mechanics", - "Probability in the Engineering and Informational Sciences", - "Proc IEEE", - "Procedia CIRP", - "Procedia IUTAM", - "Procedia Manufacturing", - "Proceedings of the Combustion Institute", - "Proceedings of the Geologists Association", - "Proceedings of the IEEE", - "Proceedings of the Indian Academy of Sciences - Section A", - "Proceedings of the Indian National Science Academy", - "Proceedings of the Institution of Civil Engineers: Urban Design and Planning", - "Proceedings of the Institution of Mechanical Engineers, Part B: Management and engineering manufacture", - "Proceedings of the Institution of Mechanical Engineers, Part F: Journal of Rail and Rapid Transit", - "Proceedings of the Institution of Mechanical Engineers, Part K: Journal of Multi-body Dynamics", - "Proceedings of the Institution of Mechanical Engineers, Part N: Journal of Nanoengineering and Nanosystems", - "Proceedings of the Institution of Mechanical Engineers, Part O: Journal of Risk and Reliability", - "Proceedings of the International Symposium on Advanced Research in Asynchronous Circuits and Systems", - "Proceedings of the Japan Academy, Series B", - "Proceedings of the National Academy of Sciences India Section A - Physical Sciences", - "Proceedings of the National Academy of Sciences of the United States of America", - "Process Biochemistry", - "Process Safety Progress", - "Process Safety and Environmental Protection", - "Processes", - "Processing and Application of Ceramics", - "Production Engineering", - "Production and Operations Management", - "Progress in Aerospace Sciences", - "Progress in Agricultural Engineering Sciences", - "Progress in Biomaterials", - "Progress in Color, Colorants and Coatings", - "Progress in Computational Fluid Dynamics", - "Progress in Computational Fluid Dynamics, An International Journal", - "Progress in Crystal Growth and Characterization of Materials", - "Progress in Energy and Combustion Science", - "Progress in Lipid Research", - "Progress in Materials Science", - "Progress in Natural Science", - "Progress in Natural Science: Materials International", - "Progress in Nuclear Energy", - "Progress in Organic Coatings", - "Progress in Particle and Nuclear Physics", - "Progress in Photovoltaics: Research and Applications", - "Progress in Polymer Science", - "Progress in Polymer Science (Oxford)", - "Progress in Quantum Electronics", - "Progress in Rubber, Plastics and Recycling Technology", - "Progress in Solid State Chemistry", - "Progress in Surface Science", - "Progress in photovoltaics", - "Progress of Theoretical and Experimental Physics", - "Progress on Chemistry and Application of Chitin and its Derivatives", - "Promet - Traffic - Traffico", - "Propellants, Explosives, Pyrotechnics", - "Propulsion and Power Research", - "Protection of Metals and Physical Chemistry of Surfaces", - "Protein Journal", - "Psychotherapy and Politics International", - "Public Transport", - "Publications", - "Publishing Research Quarterly", - "Pure and Applied Chemistry", - "Qualitas Plantarum Plant Foods for Human Nutrition", - "Quality Engineering", - "Quality and Reliability Engineering International", - "Quanta", - "Quantitative InfraRed Thermography Journal", - "Quantum Electronics", - "Quantum Information Processing", - "Quarterly Report of RTRI", - "Quaternary Geochronology", - "Quaternary International", - "Quaternary Science Reviews", - "REACH", - "ROBOMECH Journal", - "RSC Adv.", - "RSC Advances", - "Radiation Effects and Defects in Solids", - "Radiation Measurements", - "Radiation Physics and Chemistry", - "Radiation Protection Dosimetry", - "Radiation and Environmental Biophysics", - "Radio Journal", - "Radio Science", - "Radiochemistry", - "Radiochimica Acta", - "Radioelectronics and Communications Systems", - "Radiophysics and Quantum Electronics", - "Rapid Communications in Mass Spectrometry", - "Rapid Prototyping Journal", - "Rapid communications in mass spectrometry : RCM", - "Rare Metals", - "Rasayan Journal of Chemistry", - "Reaction Kinetics, Mechanisms and Catalysis", - "Reactive and Functional Polymers", - "Real-Time Systems: The International Journal of Time-Critical Computing Systems", - "Recent Advances in Electrical and Electronic Engineering", - "Recent Innovations in Chemical Engineering", - "Recent Patents on Engineering", - "Recent Patents on Materials Science", - "Recent Patents on Mechanical Engineering", - "Recent patents on drug delivery & formulation", - "Records of Natural Products", - "Refractories", - "Refractories and Industrial Ceramics", - "Regenerative Biomaterials", - "Regenerative Engineering and Translational Medicine", - "Regenerative Therapy", - "Regional Studies in Marine Science", - "Reinforced Plastics", - "Remote Sensing Applications: Society and Environment", - "Remote Sensing Letters", - "Remote Sensing of Environment", - "Renewable Energy Focus", - "Reports on Mathematical Physics", - "Research Letters in Physical Chemistry", - "Research Letters in Physics", - "Research in Astronomy and Astrophysics", - "Research in Engineering Design", - "Research in Nondestructive Evaluation", - "Research in Nondestructive Evaluation: A Journal of the American Society for Nondestructive Testing", - "Research on Biomedical Engineering", - "Research on Chemical Intermediates", - "Resource and Energy Economics", - "Restaurator", - "Results in Physics", - "Review of High Pressure Science and Technology/Koatsuryoku No Kagaku To Gijutsu", - "Review of Palaeobotany and Palynology", - "Review of Scientific Instruments", - "Review of Scientific Instruments Review of Scientific Instruments", - "Reviews in Chemical Engineering", - "Reviews in Inorganic Chemistry", - "Reviews in Mathematical Physics", - "Reviews in Physics", - "Reviews of Adhesion and Adhesives", - "Reviews of Modern Physics", - "Reviews on Advanced Materials Science", - "Revista Mexicana de Ingeniera Quimica", - "Revista de la Construccion", - "Revue de Micropaléontologie", - "Rheologica Acta", - "Risk Analysis", - "Risk analysis : an official publication of the Society for Risk Analysis", - "Road Materials and Pavement Design", - "Robotica", - "Robotics", - "Robotics and Autonomous Systems", - "Romanian Reports in Physics", - "Rubber Chem Technol", - "Rubber Chemistry and Technology", - "Rudarsko Geolosko Naftni Zbornik", - "Rudarsko-geološko-naftni zbornik", - "Russian Aeronautics", - "Russian Aeronautics (Iz VUZ)", - "Russian Chemical Bulletin", - "Russian Chemical Reviews", - "Russian Electrical Engineering", - "Russian Engineering Research", - "Russian Geology and Geophysics", - "Russian Journal of Biomechanics", - "Russian Journal of Coordination Chemistry", - "Russian Journal of Coordination Chemistry/Koordinatsionnaya Khimiya", - "Russian Journal of Electrochemistry", - "Russian Journal of Mathematical Physics", - "Russian Journal of Non-Ferrous Metals", - "Russian Journal of Nondestructive Testing", - "Russian Journal of Physical Chemistry A, Focus on Chemistry", - "Russian Metallurgy (Metally)", - "Russian Meteorology and Hydrology", - "Russian Physics Journal", - "SAE International Journal of Aerospace", - "SAE International Journal of Alternative Powertrains", - "SAE International Journal of Commercial Vehicles", - "SAE International Journal of Engines", - "SAE International Journal of Fuels and Lubricants", - "SAE International Journal of Materials and Manufacturing", - "SAE International Journal of Passenger Cars - Electronic and Electrical Systems", - "SAE International Journal of Passenger Cars - Mechanical Systems", - "SAE International Journal of Transportation Safety", - "SAE Technical Paper Series", - "SAE Technical Papers", - "SAR and QSAR in Environmental Research", - "SCIENTIA SINICA Physica, Mechanica & Astronomica", - "SDHM Structural Durability and Health Monitoring", - "SLAS Discovery", - "SOCAR Proceedings", - "SOILS AND FOUNDATIONS", - "SPE Journal", - "SPE Reprint Series", - "SPIN", - "Sadhana", - "Safety Science", - "Safety and Health at Work", - "Scandinavian Economic History Review", - "Scanning", - "Science", - "Science Bulletin", - "Science China Materials", - "Science and Engineering of Composite Materials", - "Science and Technology for the Built Environment", - "Science and Technology of Nuclear Installations", - "Science and Technology of Welding and Joining", - "Science as Culture", - "Science of Advanced Materials", - "Science of Sintering", - "Science of The Total Environment", - "Scientia Iranica", - "Scientific Drilling", - "Scientific Modeling and Simulation SMNS", - "Scripta Materialia", - "Sedimentary Geology", - "Selecta Mathematica", - "Selecta Mathematica, New Series", - "Semiconductors", - "Sensing and Bio-Sensing Research", - "Sensing and Imaging", - "Sensing and Imaging: An International Journal", - "Sensor Letters", - "Sensor Review", - "Sensors", - "Sensors and Actuators A: Physical", - "Separation Science and Technology", - "Separation Science and Technology (Philadelphia)", - "Separation and Purification Technology", - "Serbian Astronomical Journal", - "Serbian Journal of Electrical Engineering", - "Shape Memory and Superelasticity", - "She Ji: The Journal of Design, Economics, and Innovation", - "Ship Technology Research", - "Shock Waves", - "Shock and Vibration", - "Signal Processing", - "Signal Processing: Image Communication", - "Signal, Image and Video Processing", - "Silicon", - "Small", - "Small (Weinheim an der Bergstrasse, Germany)", - "Smart Materials and Structures", - "Smart Science", - "Smart Structures and Systems", - "Smart and Sustainable Built Environment", - "Social Network Analysis and Mining", - "Software Quality Journal", - "SoftwareX", - "Soil Dynamics and Earthquake Engineering", - "Soil Mechanics and Foundation Engineering", - "Soils and Foundations", - "Solar Energy", - "Solar Physics", - "Solid Earth Sciences", - "Solid Fuel Chemistry", - "Solid State Communications", - "Solid State Ionics", - "Solid State Nuclear Magnetic Resonance", - "Solid State Sciences", - "Solid-State Electronics", - "Solvent Extraction and Ion Exchange", - "South African Journal of Chemical Engineering", - "South African Journal of Chemistry", - "South African Journal of Industrial Engineering", - "Soviet Physics Journal", - "Soviet materials science : a transl. of Fiziko-khimicheskaya mekhanika materialov / Academy of Sciences of the Ukrainian SSR", - "Space Research Today", - "Space Science Reviews", - "Spatial Statistics", - "Special Topics & Reviews in Porous Media: An International Journal", - "Special Topics and Reviews in Porous Media", - "Spectroscopy Letters", - "Sports Engineering", - "Sports Technology", - "Springer Series in Chemical Physics", - "Starch/Staerke", - "Steel & Composite structures", - "Steel Construction", - "Steel Research International", - "Steel and Composite Structures", - "Steel in Translation", - "Steroids", - "Stochastic Environmental Research and Risk Assessment", - "Strain", - "Strategic Planning for Energy and the Environment", - "Strength of Materials", - "Strength, Fracture and Complexity", - "Structural Chemistry", - "Structural Concrete", - "Structural Control and Health Monitoring", - "Structural Dynamics", - "Structural Engineering International", - "Structural Engineering International: Journal of the International Association for Bridge and Structural Engineering (IABSE)", - "Structural Engineering and Mechanics", - "Structural Engineering/Earthquake Engineering", - "Structural Health Monitoring", - "Structural Health Monitoring: An International Journal", - "Structural Monitoring and Maintenance", - "Structural Safety", - "Structural and Multidisciplinary Optimization", - "Structure and Infrastructure Engineering", - "Structures", - "Studia Geotechnica et Mechanica", - "Studies in History and Philosophy of Modern Physics", - "Studies in Informatics and Control", - "Superlattices and Microstructures", - "Supramolecular Chemistry", - "Surface Coatings International", - "Surface Coatings International Part B: Coatings Transactions", - "Surface Engineering", - "Surface Engineering and Applied Electrochemistry", - "Surface Innovations", - "Surface Review and Letters", - "Surface Science", - "Surface Science Reports", - "Surface Science Spectra", - "Surface Topography: Metrology and Properties", - "Surface and Coatings Technology", - "Surface and Colloid Science", - "Surface and Interface Analysis", - "Surfaces and Interfaces", - "Survey Review", - "Sustainability", - "Sustainability (Switzerland)", - "Sustainability Accounting, Management and Policy Journal", - "Sustainable Cities and Society", - "Sustainable Computing: Informatics and Systems", - "Sustainable Development", - "Sustainable Energy Technologies and Assessments", - "Sustainable Energy, Grids and Networks", - "Sustainable Materials and Technologies", - "Sustainable Production and Consumption", - "Swarm and Evolutionary Computation", - "Symmetry", - "Synchrotron Radiation News", - "Synlett", - "Synthetic Metals", - "Synthetic and Systems Biotechnology", - "Systems Science and Control Engineering", - "Systems and Synthetic Biology", - "TECHNE", - "TRANSACTIONS OF THE JAPAN SOCIETY FOR AERONAUTICAL AND SPACE SCIENCES", - "Talanta", - "Technische Mechanik", - "Technisches Messen", - "Technology and Culture", - "Technology and Health Care", - "Technovation", - "Tectonophysics", - "Telecommunication Systems", - "Telecommunications Policy", - "Telecommunications and Radio Engineering", - "Telecommunications and Radio Engineering (English translation of Elektrosvyaz and Radiotekhnika)", - "Telematics and Informatics", - "Tetrahedron", - "Tetrahedron Letters", - "Textile History", - "Textile Research Journal", - "The Analyst", - "The Egyptian Journal of Remote Sensing and Space Science", - "The Electricity Journal", - "The European Physical Journal B", - "The European Physical Journal B - Condensed Matter and Complex Systems", - "The Journal of Chemical Thermodynamics", - "The Journal of the Acoustical Society of America", - "The Protein Journal", - "The Review of High Pressure Science and Technology", - "Theoretical Chemistry Accounts", - "Theoretical and Applied Fracture Mechanics", - "Theoretical and Applied Mechanics Letters", - "Theoretical and Computational Chemistry", - "Theoretical and Computational Fluid Dynamics", - "Theoretical and Experimental Chemistry", - "Theoretical and Mathematical Physics", - "Theoretical and Mathematical Physics(Russian Federation)", - "Therapeutics and Clinical Risk Management", - "Thermal Engineering", - "Thermal Engineering (English translation of Teploenergetika)", - "Thermal Science", - "Thermal Science and Engineering Progress", - "Thermochimica Acta", - "Thermophysics and Aeromechanics", - "Thin Solid Films", - "Thin-Walled Structures", - "Tire Science and Technology", - "Topics in Catalysis", - "Total Telecom", - "Toxicology Research", - "Trace Elements and Electrolytes", - "Transactions of Nanjing University of Aeronautics and Astronautics", - "Transactions of Nonferrous Metals Society of China", - "Transactions of Nonferrous Metals Society of China (English Edition)", - "Transactions of the Atomic Energy Society of Japan", - "Transactions of the Canadian Society for Mechanical Engineering", - "Transactions of the IMF", - "Transactions of the Indian Ceramic Society", - "Transactions of the Indian Institute of Metals", - "Transactions of the Institute of Measurement and Control", - "Transactions of the Institute of Metal Finishing", - "Transactions of the Institutions of Mining and Metallurgy, Section C: Mineral Processing and Extractive Metallurgy", - "Transactions of the Japan Society for Aeronautical and Space Sciences", - "Transactions of the Royal Institution of Naval Architects Part A: International Journal of Maritime Engineering", - "Transactions on Electrical and Electronic Materials", - "Transactions on Emerging Telecommunications Technologies", - "Transition Metal Chemistry", - "Translational Vision Science and Technology", - "Transport", - "Transport in Porous Media", - "Transportation", - "Transportation Geotechnics", - "Transportation Research Part A: Policy and Practice", - "Transportation Research Part B: Methodological", - "Transportation Research Part C: Emerging Technologies", - "Transportation Research Part D: Transport and Environment", - "Transportation Research Part F: Traffic Psychology and Behaviour", - "Transportation Science", - "Travel Behaviour and Society", - "Trends in Biotechnology", - "Trends in Colloid and Interface Science XVII", - "Trends in Environmental Analytical Chemistry", - "Tribology Letters", - "Tunnelling and Underground Space Technology", - "Ultramicroscopy", - "Ultrasonics", - "Ultrasonics Sonochemistry", - "Underground Space", - "Urban Climate", - "Utilities Policy", - "Vacuum", - "Vibrational Spectroscopy", - "Water Research", - "Water Resources and Economics", - "Water Resources and Industry", - "Water Science", - "Water Science and Engineering", - "Wave Motion", - "Wear", - "Weather and Climate Extremes", - "Welding in the World", - "Zeitschrift für Physik B: Condensed Matter", - "journal of vacuum science and technology a: vacuum, surfaces and films", - "npj Computational Materials", - "physica status solidi (RRL) - Rapid Research Letters", - "pure and applied chemistry", - "steel research international", - "tm - Technisches Messen" - ], - "timestamp": "2019/10/16-15:53:12" -} \ No newline at end of file +{"abstracts": 4944675, "materials": 1084409, "entities": 3929811, "journal": null, "timestamp": "2020/04/10-12:10:35"} \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 5c731bb..04065ab 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10,6 +10,7 @@ flask==1.1.1 Flask-Caching==1.7.2 gunicorn==19.9.0 pandas==0.25.1 +APScheduler==3.6.3 -e git+https://github.com/materialsintelligence/matscholar.git#egg=matscholar diff --git a/scripts/update_statistics.py b/scripts/update_statistics.py deleted file mode 100644 index 2607b4b..0000000 --- a/scripts/update_statistics.py +++ /dev/null @@ -1,123 +0,0 @@ -import json -import os -from datetime import datetime - -from matscholar_web.constants import rester - - -""" -Generates the data for showing database statistics (preventing redundant -rester calls and prevent having to do caching nonsense). - -Output: /matscholar_web/assets/data/db_statistics.json - -To be run by either: -(a) The server host upon deployment (e.g., Heroku postdeploy) -(b) You, the developer, if you haven't set up automatic script running on - deployments OR you just want to run it locally. -""" - - -def get_timestamp(): - """ - Get the time now, formatted as YYYY/MM/DD-HH:MM:SS - - Returns: - (str): The properly formatted date right now. - - """ - now = datetime.now() - return now.strftime("%Y/%m/%d-%H:%M:%S") - - -def get_debug_stats(): - """ - Get some stats in the same format as the rester but just for debugging - when the rester is down :( - - Returns: - (dict): Simulated data which get_live_stats would normally return. - - """ - stats = { - "materials": 298616, - "entities": 525690, - "abstracts": 4951267, - "journals": [ - "Journal of Materials Chemistry, A", - "Journal of Materials Chemistry, B", - "Journal of Materials Chemistry, C", - "Materials Horizons", - "Nature", - "Nature Materials", - "Computational Materials Science", - "Journal of Materials, Physics", - "Science", - "Nature Machine Intelligence", - "Physical Review A", - "Physical Review B", - "Physical Review Letters", - "Energy and Environmental Science", - "Frontiers in Materials", - "Joule", - "Matter", - "Cell", - "Angewandte Chemie International Edition", - "Advanced Functional Materials", - "Chemistry of Materials", - "Journal of Solid State Chemistry", - "Apl Materials", - "Nature Scientific Data", - "Electrochemistry Communications", - "Concurrency and Computation", - ] - * 10, - "timestamp": get_timestamp(), - } - return stats - - -def get_live_stats(): - """ - Get live stats from the database. - - Returns: - (dict): The stats on the db as python native objects or primitives. - - """ - rstats = rester.get_db_stats() - fstats = { - "abstracts": rstats["abstract_count"], - "materials": rstats["materials_count"], - "entities": rstats["entities_count"], - # "journals": rester.get_journals(), - "journal": None, - "timestamp": get_timestamp(), - } - - return fstats - - -if __name__ == "__main__": - raise ValueError( - "Probably not going to work, need to make sure that " - "rester get_journals is returning a list and not a mongo" - "doc thing" - ) - - stats = get_live_stats() - # stats = get_debug_stats() - - print(stats) - - thisdir = os.path.abspath(os.path.dirname(__file__)) - target = os.path.abspath( - os.path.join( - thisdir, "../matscholar_web/assets/data/db_statistics.json" - ) - ) - - with open(target, "w") as f: - json.dump(stats, f) - - print("Statistics updated successfully!")