├── .gitignore ├── LICENSE.txt ├── README.md ├── docs └── img │ └── login.png ├── manage.py ├── requirements.txt └── thor ├── __init__.py ├── config ├── __init__.py ├── apache │ ├── __init__.py │ └── wsgi.py ├── settings │ ├── __init__.py │ ├── dev.py │ ├── local.py │ ├── main.py │ └── prod.py └── urls.py └── modules ├── __init__.py ├── api ├── __init__.py ├── data │ ├── data_crossref.json │ ├── data_doi.json │ └── data_orcid.json ├── urls.py └── views.py └── dashboard ├── __init__.py ├── admin.py ├── migrations └── __init__.py ├── models.py ├── static └── assets │ ├── css │ └── thor_style.css │ ├── geo │ └── world-countries.json │ ├── img │ ├── cern-logo.svg │ ├── icon_email.svg │ ├── icon_lock.svg │ ├── icon_user.svg │ ├── logo-normal.svg │ ├── logo-original.svg │ ├── logo-white.svg │ └── search_icon.svg │ └── js │ ├── lib │ └── dc.js │ └── thor-dash-lib.js ├── templates ├── base.html ├── components │ ├── general-resources.html │ └── vis-resources.html ├── crossrefs-dashboard.html ├── dashboard.html ├── data-dashboard.html ├── event-dashboard.html ├── registration │ ├── activate.html │ ├── activation_complete.html │ ├── activation_email.txt │ ├── activation_email_subject.txt │ ├── base.html │ ├── login.html │ ├── logout.html │ ├── password_change_done.html │ ├── password_change_form.html │ ├── password_reset_complete.html │ ├── password_reset_confirm.html │ ├── password_reset_done.html │ ├── password_reset_email.html │ ├── password_reset_form.html │ ├── registration_base.html │ ├── registration_complete.html │ └── registration_form.html └── research-identifier-dashboard.html ├── tests.py ├── urls.py └── views.py /.gitignore: -------------------------------------------------------------------------------- 1 | # Created by .ignore support plugin (hsz.mobi) 2 | ### Python template 3 | # Byte-compiled / optimized / DLL files 4 | __pycache__/ 5 | *.py[cod] 6 | *$py.class 7 | 8 | # C extensions 9 | *.so 10 | 11 | # Database 12 | *.db 13 | 14 | # Distribution / packaging 15 | .Python 16 | env/ 17 | build/ 18 | develop-eggs/ 19 | dist/ 20 | downloads/ 21 | eggs/ 22 | .eggs/ 23 | lib64/ 24 | parts/ 25 | sdist/ 26 | var/ 27 | *.egg-info/ 28 | .installed.cfg 29 | *.egg 30 | 31 | # PyInstaller 32 | # Usually these files are written by a python script from a template 33 | # before PyInstaller builds the exe, so as to inject date/other infos into it. 34 | *.manifest 35 | *.spec 36 | 37 | # Installer logs 38 | pip-log.txt 39 | pip-delete-this-directory.txt 40 | 41 | # Unit test / coverage reports 42 | htmlcov/ 43 | .tox/ 44 | .coverage 45 | .coverage.* 46 | .cache 47 | nosetests.xml 48 | coverage.xml 49 | *,cover 50 | 51 | # Translations 52 | *.mo 53 | *.pot 54 | 55 | # Django stuff: 56 | *.log 57 | 58 | # Sphinx documentation 59 | docs/_build/ 60 | 61 | # PyBuilder 62 | target/ 63 | 64 | 65 | ### JetBrains template 66 | # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion 67 | 68 | *.iml 69 | 70 | ## Directory-based project format: 71 | .idea/ 72 | # if you remove the above rule, at least ignore the following: 73 | 74 | # User-specific stuff: 75 | # .idea/workspace.xml 76 | # .idea/tasks.xml 77 | # .idea/dictionaries 78 | 79 | # Sensitive or high-churn files: 80 | # .idea/dataSources.ids 81 | # .idea/dataSources.xml 82 | # .idea/sqlDataSources.xml 83 | # .idea/dynamic.xml 84 | # .idea/uiDesigner.xml 85 | 86 | # Gradle: 87 | # .idea/gradle.xml 88 | # .idea/libraries 89 | 90 | # Mongo Explorer plugin: 91 | # .idea/mongoSettings.xml 92 | 93 | ## File-based project format: 94 | *.ipr 95 | *.iws 96 | 97 | ## Plugin-specific files: 98 | 99 | # IntelliJ 100 | /out/ 101 | 102 | # mpeltonen/sbt-idea plugin 103 | .idea_modules/ 104 | 105 | # JIRA plugin 106 | atlassian-ide-plugin.xml 107 | 108 | # Crashlytics plugin (for Android Studio and IntelliJ) 109 | com_crashlytics_export_strings.xml 110 | crashlytics.properties 111 | crashlytics-build.properties 112 | 113 | 114 | ### OSX template 115 | .DS_Store 116 | .AppleDouble 117 | .LSOverride 118 | 119 | # Icon must end with two \r 120 | Icon 121 | 122 | # Thumbnails 123 | ._* 124 | 125 | # Files that might appear in the root of a volume 126 | .DocumentRevisions-V100 127 | .fseventsd 128 | .Spotlight-V100 129 | .TemporaryItems 130 | .Trashes 131 | .VolumeIcon.icns 132 | 133 | # Directories potentially created on remote AFP share 134 | .AppleDB 135 | .AppleDesktop 136 | Network Trash Folder 137 | Temporary Items 138 | .apdisk 139 | 140 | 141 | -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 2, June 1991 3 | 4 | Copyright (C) 1989, 1991 Free Software Foundation, Inc., 5 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 6 | Everyone is permitted to copy and distribute verbatim copies 7 | of this license document, but changing it is not allowed. 8 | 9 | Preamble 10 | 11 | The licenses for most software are designed to take away your 12 | freedom to share and change it. By contrast, the GNU General Public 13 | License is intended to guarantee your freedom to share and change free 14 | software--to make sure the software is free for all its users. This 15 | General Public License applies to most of the Free Software 16 | Foundation's software and to any other program whose authors commit to 17 | using it. (Some other Free Software Foundation software is covered by 18 | the GNU Lesser General Public License instead.) You can apply it to 19 | your programs, too. 20 | 21 | When we speak of free software, we are referring to freedom, not 22 | price. Our General Public Licenses are designed to make sure that you 23 | have the freedom to distribute copies of free software (and charge for 24 | this service if you wish), that you receive source code or can get it 25 | if you want it, that you can change the software or use pieces of it 26 | in new free programs; and that you know you can do these things. 27 | 28 | To protect your rights, we need to make restrictions that forbid 29 | anyone to deny you these rights or to ask you to surrender the rights. 30 | These restrictions translate to certain responsibilities for you if you 31 | distribute copies of the software, or if you modify it. 32 | 33 | For example, if you distribute copies of such a program, whether 34 | gratis or for a fee, you must give the recipients all the rights that 35 | you have. You must make sure that they, too, receive or can get the 36 | source code. And you must show them these terms so they know their 37 | rights. 38 | 39 | We protect your rights with two steps: (1) copyright the software, and 40 | (2) offer you this license which gives you legal permission to copy, 41 | distribute and/or modify the software. 42 | 43 | Also, for each author's protection and ours, we want to make certain 44 | that everyone understands that there is no warranty for this free 45 | software. If the software is modified by someone else and passed on, we 46 | want its recipients to know that what they have is not the original, so 47 | that any problems introduced by others will not reflect on the original 48 | authors' reputations. 49 | 50 | Finally, any free program is threatened constantly by software 51 | patents. We wish to avoid the danger that redistributors of a free 52 | program will individually obtain patent licenses, in effect making the 53 | program proprietary. To prevent this, we have made it clear that any 54 | patent must be licensed for everyone's free use or not licensed at all. 55 | 56 | The precise terms and conditions for copying, distribution and 57 | modification follow. 58 | 59 | GNU GENERAL PUBLIC LICENSE 60 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 61 | 62 | 0. This License applies to any program or other work which contains 63 | a notice placed by the copyright holder saying it may be distributed 64 | under the terms of this General Public License. The "Program", below, 65 | refers to any such program or work, and a "work based on the Program" 66 | means either the Program or any derivative work under copyright law: 67 | that is to say, a work containing the Program or a portion of it, 68 | either verbatim or with modifications and/or translated into another 69 | language. (Hereinafter, translation is included without limitation in 70 | the term "modification".) Each licensee is addressed as "you". 71 | 72 | Activities other than copying, distribution and modification are not 73 | covered by this License; they are outside its scope. The act of 74 | running the Program is not restricted, and the output from the Program 75 | is covered only if its contents constitute a work based on the 76 | Program (independent of having been made by running the Program). 77 | Whether that is true depends on what the Program does. 78 | 79 | 1. You may copy and distribute verbatim copies of the Program's 80 | source code as you receive it, in any medium, provided that you 81 | conspicuously and appropriately publish on each copy an appropriate 82 | copyright notice and disclaimer of warranty; keep intact all the 83 | notices that refer to this License and to the absence of any warranty; 84 | and give any other recipients of the Program a copy of this License 85 | along with the Program. 86 | 87 | You may charge a fee for the physical act of transferring a copy, and 88 | you may at your option offer warranty protection in exchange for a fee. 89 | 90 | 2. You may modify your copy or copies of the Program or any portion 91 | of it, thus forming a work based on the Program, and copy and 92 | distribute such modifications or work under the terms of Section 1 93 | above, provided that you also meet all of these conditions: 94 | 95 | a) You must cause the modified files to carry prominent notices 96 | stating that you changed the files and the date of any change. 97 | 98 | b) You must cause any work that you distribute or publish, that in 99 | whole or in part contains or is derived from the Program or any 100 | part thereof, to be licensed as a whole at no charge to all third 101 | parties under the terms of this License. 102 | 103 | c) If the modified program normally reads commands interactively 104 | when run, you must cause it, when started running for such 105 | interactive use in the most ordinary way, to print or display an 106 | announcement including an appropriate copyright notice and a 107 | notice that there is no warranty (or else, saying that you provide 108 | a warranty) and that users may redistribute the program under 109 | these conditions, and telling the user how to view a copy of this 110 | License. (Exception: if the Program itself is interactive but 111 | does not normally print such an announcement, your work based on 112 | the Program is not required to print an announcement.) 113 | 114 | These requirements apply to the modified work as a whole. If 115 | identifiable sections of that work are not derived from the Program, 116 | and can be reasonably considered independent and separate works in 117 | themselves, then this License, and its terms, do not apply to those 118 | sections when you distribute them as separate works. But when you 119 | distribute the same sections as part of a whole which is a work based 120 | on the Program, the distribution of the whole must be on the terms of 121 | this License, whose permissions for other licensees extend to the 122 | entire whole, and thus to each and every part regardless of who wrote it. 123 | 124 | Thus, it is not the intent of this section to claim rights or contest 125 | your rights to work written entirely by you; rather, the intent is to 126 | exercise the right to control the distribution of derivative or 127 | collective works based on the Program. 128 | 129 | In addition, mere aggregation of another work not based on the Program 130 | with the Program (or with a work based on the Program) on a volume of 131 | a storage or distribution medium does not bring the other work under 132 | the scope of this License. 133 | 134 | 3. You may copy and distribute the Program (or a work based on it, 135 | under Section 2) in object code or executable form under the terms of 136 | Sections 1 and 2 above provided that you also do one of the following: 137 | 138 | a) Accompany it with the complete corresponding machine-readable 139 | source code, which must be distributed under the terms of Sections 140 | 1 and 2 above on a medium customarily used for software interchange; or, 141 | 142 | b) Accompany it with a written offer, valid for at least three 143 | years, to give any third party, for a charge no more than your 144 | cost of physically performing source distribution, a complete 145 | machine-readable copy of the corresponding source code, to be 146 | distributed under the terms of Sections 1 and 2 above on a medium 147 | customarily used for software interchange; or, 148 | 149 | c) Accompany it with the information you received as to the offer 150 | to distribute corresponding source code. (This alternative is 151 | allowed only for noncommercial distribution and only if you 152 | received the program in object code or executable form with such 153 | an offer, in accord with Subsection b above.) 154 | 155 | The source code for a work means the preferred form of the work for 156 | making modifications to it. For an executable work, complete source 157 | code means all the source code for all modules it contains, plus any 158 | associated interface definition files, plus the scripts used to 159 | control compilation and installation of the executable. However, as a 160 | special exception, the source code distributed need not include 161 | anything that is normally distributed (in either source or binary 162 | form) with the major components (compiler, kernel, and so on) of the 163 | operating system on which the executable runs, unless that component 164 | itself accompanies the executable. 165 | 166 | If distribution of executable or object code is made by offering 167 | access to copy from a designated place, then offering equivalent 168 | access to copy the source code from the same place counts as 169 | distribution of the source code, even though third parties are not 170 | compelled to copy the source along with the object code. 171 | 172 | 4. You may not copy, modify, sublicense, or distribute the Program 173 | except as expressly provided under this License. Any attempt 174 | otherwise to copy, modify, sublicense or distribute the Program is 175 | void, and will automatically terminate your rights under this License. 176 | However, parties who have received copies, or rights, from you under 177 | this License will not have their licenses terminated so long as such 178 | parties remain in full compliance. 179 | 180 | 5. You are not required to accept this License, since you have not 181 | signed it. However, nothing else grants you permission to modify or 182 | distribute the Program or its derivative works. These actions are 183 | prohibited by law if you do not accept this License. Therefore, by 184 | modifying or distributing the Program (or any work based on the 185 | Program), you indicate your acceptance of this License to do so, and 186 | all its terms and conditions for copying, distributing or modifying 187 | the Program or works based on it. 188 | 189 | 6. Each time you redistribute the Program (or any work based on the 190 | Program), the recipient automatically receives a license from the 191 | original licensor to copy, distribute or modify the Program subject to 192 | these terms and conditions. You may not impose any further 193 | restrictions on the recipients' exercise of the rights granted herein. 194 | You are not responsible for enforcing compliance by third parties to 195 | this License. 196 | 197 | 7. If, as a consequence of a court judgment or allegation of patent 198 | infringement or for any other reason (not limited to patent issues), 199 | conditions are imposed on you (whether by court order, agreement or 200 | otherwise) that contradict the conditions of this License, they do not 201 | excuse you from the conditions of this License. If you cannot 202 | distribute so as to satisfy simultaneously your obligations under this 203 | License and any other pertinent obligations, then as a consequence you 204 | may not distribute the Program at all. For example, if a patent 205 | license would not permit royalty-free redistribution of the Program by 206 | all those who receive copies directly or indirectly through you, then 207 | the only way you could satisfy both it and this License would be to 208 | refrain entirely from distribution of the Program. 209 | 210 | If any portion of this section is held invalid or unenforceable under 211 | any particular circumstance, the balance of the section is intended to 212 | apply and the section as a whole is intended to apply in other 213 | circumstances. 214 | 215 | It is not the purpose of this section to induce you to infringe any 216 | patents or other property right claims or to contest validity of any 217 | such claims; this section has the sole purpose of protecting the 218 | integrity of the free software distribution system, which is 219 | implemented by public license practices. Many people have made 220 | generous contributions to the wide range of software distributed 221 | through that system in reliance on consistent application of that 222 | system; it is up to the author/donor to decide if he or she is willing 223 | to distribute software through any other system and a licensee cannot 224 | impose that choice. 225 | 226 | This section is intended to make thoroughly clear what is believed to 227 | be a consequence of the rest of this License. 228 | 229 | 8. If the distribution and/or use of the Program is restricted in 230 | certain countries either by patents or by copyrighted interfaces, the 231 | original copyright holder who places the Program under this License 232 | may add an explicit geographical distribution limitation excluding 233 | those countries, so that distribution is permitted only in or among 234 | countries not thus excluded. In such case, this License incorporates 235 | the limitation as if written in the body of this License. 236 | 237 | 9. The Free Software Foundation may publish revised and/or new versions 238 | of the General Public License from time to time. Such new versions will 239 | be similar in spirit to the present version, but may differ in detail to 240 | address new problems or concerns. 241 | 242 | Each version is given a distinguishing version number. If the Program 243 | specifies a version number of this License which applies to it and "any 244 | later version", you have the option of following the terms and conditions 245 | either of that version or of any later version published by the Free 246 | Software Foundation. If the Program does not specify a version number of 247 | this License, you may choose any version ever published by the Free Software 248 | Foundation. 249 | 250 | 10. If you wish to incorporate parts of the Program into other free 251 | programs whose distribution conditions are different, write to the author 252 | to ask for permission. For software which is copyrighted by the Free 253 | Software Foundation, write to the Free Software Foundation; we sometimes 254 | make exceptions for this. Our decision will be guided by the two goals 255 | of preserving the free status of all derivatives of our free software and 256 | of promoting the sharing and reuse of software generally. 257 | 258 | NO WARRANTY 259 | 260 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 261 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 262 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 263 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 264 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 265 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 266 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 267 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 268 | REPAIR OR CORRECTION. 269 | 270 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 271 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 272 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 273 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 274 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 275 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 276 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 277 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 278 | POSSIBILITY OF SUCH DAMAGES. 279 | 280 | END OF TERMS AND CONDITIONS 281 | 282 | How to Apply These Terms to Your New Programs 283 | 284 | If you develop a new program, and you want it to be of the greatest 285 | possible use to the public, the best way to achieve this is to make it 286 | free software which everyone can redistribute and change under these terms. 287 | 288 | To do so, attach the following notices to the program. It is safest 289 | to attach them to the start of each source file to most effectively 290 | convey the exclusion of warranty; and each file should have at least 291 | the "copyright" line and a pointer to where the full notice is found. 292 | 293 | {description} 294 | Copyright (C) {year} {fullname} 295 | 296 | This program is free software; you can redistribute it and/or modify 297 | it under the terms of the GNU General Public License as published by 298 | the Free Software Foundation; either version 2 of the License, or 299 | (at your option) any later version. 300 | 301 | This program is distributed in the hope that it will be useful, 302 | but WITHOUT ANY WARRANTY; without even the implied warranty of 303 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 304 | GNU General Public License for more details. 305 | 306 | You should have received a copy of the GNU General Public License along 307 | with this program; if not, write to the Free Software Foundation, Inc., 308 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 309 | 310 | Also add information on how to contact you by electronic and paper mail. 311 | 312 | If the program is interactive, make it output a short notice like this 313 | when it starts in an interactive mode: 314 | 315 | Gnomovision version 69, Copyright (C) year name of author 316 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 317 | This is free software, and you are welcome to redistribute it 318 | under certain conditions; type `show c' for details. 319 | 320 | The hypothetical commands `show w' and `show c' should show the appropriate 321 | parts of the General Public License. Of course, the commands you use may 322 | be called something other than `show w' and `show c'; they could even be 323 | mouse-clicks or menu items--whatever suits your program. 324 | 325 | You should also get your employer (if you work as a programmer) or your 326 | school, if any, to sign a "copyright disclaimer" for the program, if 327 | necessary. Here is a sample; alter the names: 328 | 329 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program 330 | `Gnomovision' (which makes passes at compilers) written by James Hacker. 331 | 332 | {signature of Ty Coon}, 1 April 1989 333 | Ty Coon, President of Vice 334 | 335 | This General Public License does not permit incorporating your program into 336 | proprietary programs. If your program is a subroutine library, you may 337 | consider it more useful to permit linking proprietary applications with the 338 | library. If this is what you want to do, use the GNU Lesser General 339 | Public License instead of this License. -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Thor Project Dashboard 2 | 3 | Thor Dashboard monitors the evolution of the persistent identifier (PID) landscape over the life of the THOR project. 4 | 5 | Dashboard uses data provided by DataCite, ORCID and Crossref, collected by [data-harvester](https://github.com/thor-project/data-harvester). 6 | 7 | See Thor Dashboard [live](http://dashboard.project-thor.eu/dashboard). 8 | 9 | 10 | ![thor-db](https://cloud.githubusercontent.com/assets/282396/9885825/7d3d017e-5be7-11e5-9436-82103bb7b935.gif) 11 | 12 | ### Data Sources 13 | 14 | * DataCite - [API Here](http://api.datacite.org) 15 | * ORCID - [API Here](http://pub.orcid.org/v2.0_rc1#!/Statistics_API_v2.0_rc1/viewStatsTimeline) 16 | * Crossref - [API Here](http://search.crossref.org/help/api) 17 | -------------------------------------------------------------------------------- /docs/img/login.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thor-project/dashboard/43a9501c141a611a9bb1f4e7f532fddaf8664dca/docs/img/login.png -------------------------------------------------------------------------------- /manage.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | import os 3 | import sys 4 | 5 | if __name__ == "__main__": 6 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "thor.config.settings") 7 | os.environ.setdefault("DJANGO_ENV", "dev") 8 | 9 | from django.core.management import execute_from_command_line 10 | 11 | execute_from_command_line(sys.argv) 12 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | appdirs==1.4.3 2 | Django==1.9.12 3 | django-grappelli==2.9.1 4 | django-registration==2.2 5 | packaging==16.8 6 | pyparsing==2.2.0 7 | six==1.10.0 8 | -------------------------------------------------------------------------------- /thor/__init__.py: -------------------------------------------------------------------------------- 1 | # 2 | # This file is part of the THOR Dashboard Project. 3 | # Copyright (C) 2016 CERN. 4 | # 5 | # The THOR dashboard is free software; you can redistribute it 6 | # and/or modify it under the terms of the GNU General Public License as 7 | # published by the Free Software Foundation; either version 2 of the 8 | # License, or (at your option) any later version. 9 | # 10 | # HEPData is distributed in the hope that it will be 11 | # useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | # General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with the THOR dashboard; if not, write to the 17 | # Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 18 | # MA 02111-1307, USA. 19 | # 20 | # In applying this license, CERN does not 21 | # waive the privileges and immunities granted to it by virtue of its status 22 | # as an Intergovernmental Organization or submit itself to any jurisdiction. 23 | __author__ = 'eamonnmaguire' 24 | -------------------------------------------------------------------------------- /thor/config/__init__.py: -------------------------------------------------------------------------------- 1 | # 2 | # This file is part of the THOR Dashboard Project. 3 | # Copyright (C) 2016 CERN. 4 | # 5 | # The THOR dashboard is free software; you can redistribute it 6 | # and/or modify it under the terms of the GNU General Public License as 7 | # published by the Free Software Foundation; either version 2 of the 8 | # License, or (at your option) any later version. 9 | # 10 | # HEPData is distributed in the hope that it will be 11 | # useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | # General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with the THOR dashboard; if not, write to the 17 | # Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 18 | # MA 02111-1307, USA. 19 | # 20 | # In applying this license, CERN does not 21 | # waive the privileges and immunities granted to it by virtue of its status 22 | # as an Intergovernmental Organization or submit itself to any jurisdiction. 23 | -------------------------------------------------------------------------------- /thor/config/apache/__init__.py: -------------------------------------------------------------------------------- 1 | # 2 | # This file is part of the THOR Dashboard Project. 3 | # Copyright (C) 2016 CERN. 4 | # 5 | # The THOR dashboard is free software; you can redistribute it 6 | # and/or modify it under the terms of the GNU General Public License as 7 | # published by the Free Software Foundation; either version 2 of the 8 | # License, or (at your option) any later version. 9 | # 10 | # HEPData is distributed in the hope that it will be 11 | # useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | # General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with the THOR dashboard; if not, write to the 17 | # Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 18 | # MA 02111-1307, USA. 19 | # 20 | # In applying this license, CERN does not 21 | # waive the privileges and immunities granted to it by virtue of its status 22 | # as an Intergovernmental Organization or submit itself to any jurisdiction. 23 | __author__ = 'eamonnmaguire' 24 | -------------------------------------------------------------------------------- /thor/config/apache/wsgi.py: -------------------------------------------------------------------------------- 1 | # 2 | # This file is part of the THOR Dashboard Project. 3 | # Copyright (C) 2016 CERN. 4 | # 5 | # The THOR dashboard is free software; you can redistribute it 6 | # and/or modify it under the terms of the GNU General Public License as 7 | # published by the Free Software Foundation; either version 2 of the 8 | # License, or (at your option) any later version. 9 | # 10 | # HEPData is distributed in the hope that it will be 11 | # useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | # General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with the THOR dashboard; if not, write to the 17 | # Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 18 | # MA 02111-1307, USA. 19 | # 20 | # In applying this license, CERN does not 21 | # waive the privileges and immunities granted to it by virtue of its status 22 | # as an Intergovernmental Organization or submit itself to any jurisdiction. 23 | 24 | 25 | """ 26 | WSGI config for untitled project. 27 | 28 | It exposes the WSGI callable as a module-level variable named ``application``. 29 | 30 | For more information on this file, see 31 | https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/ 32 | """ 33 | 34 | import os 35 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "thor.config.settings") 36 | 37 | from django.core.wsgi import get_wsgi_application 38 | application = get_wsgi_application() 39 | -------------------------------------------------------------------------------- /thor/config/settings/__init__.py: -------------------------------------------------------------------------------- 1 | # 2 | # This file is part of the THOR Dashboard Project. 3 | # Copyright (C) 2016 CERN. 4 | # 5 | # The THOR dashboard is free software; you can redistribute it 6 | # and/or modify it under the terms of the GNU General Public License as 7 | # published by the Free Software Foundation; either version 2 of the 8 | # License, or (at your option) any later version. 9 | # 10 | # HEPData is distributed in the hope that it will be 11 | # useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | # General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with the THOR dashboard; if not, write to the 17 | # Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 18 | # MA 02111-1307, USA. 19 | # 20 | # In applying this license, CERN does not 21 | # waive the privileges and immunities granted to it by virtue of its status 22 | # as an Intergovernmental Organization or submit itself to any jurisdiction. 23 | 24 | import os 25 | 26 | environment = os.environ.get('DJANGO_ENV', "") 27 | 28 | # environment = 'dev' 29 | # 30 | print "ENVIRONMENT: " + environment 31 | 32 | from thor.config.settings.main import * 33 | 34 | if environment == "dev": 35 | from thor.config.settings.dev import * 36 | elif environment == "local": 37 | from thor.config.settings.local import * 38 | else: 39 | from thor.config.settings.prod import * 40 | -------------------------------------------------------------------------------- /thor/config/settings/dev.py: -------------------------------------------------------------------------------- 1 | # 2 | # This file is part of the THOR Dashboard Project. 3 | # Copyright (C) 2016 CERN. 4 | # 5 | # The THOR dashboard is free software; you can redistribute it 6 | # and/or modify it under the terms of the GNU General Public License as 7 | # published by the Free Software Foundation; either version 2 of the 8 | # License, or (at your option) any later version. 9 | # 10 | # HEPData is distributed in the hope that it will be 11 | # useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | # General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with the THOR dashboard; if not, write to the 17 | # Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 18 | # MA 02111-1307, USA. 19 | # 20 | # In applying this license, CERN does not 21 | # waive the privileges and immunities granted to it by virtue of its status 22 | # as an Intergovernmental Organization or submit itself to any jurisdiction. 23 | 24 | __author__ = 'eamonnmaguire' 25 | 26 | DATABASES = { 27 | 'default': { 28 | 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. 29 | 'NAME': 'thor.db', # Or path to database file if using sqlite3. 30 | 'USER': '', # Not used with sqlite3. 31 | 'PASSWORD': '', # Not used with sqlite3. 32 | 'HOST': '', # Set to empty string for localhost. Not used with sqlite3. 33 | 'PORT': '', # Set to empty string for default. Not used with sqlite3. 34 | } 35 | } 36 | 37 | STATIC_URL = "/static/" -------------------------------------------------------------------------------- /thor/config/settings/local.py: -------------------------------------------------------------------------------- 1 | # 2 | # This file is part of the THOR Dashboard Project. 3 | # Copyright (C) 2016 CERN. 4 | # 5 | # The THOR dashboard is free software; you can redistribute it 6 | # and/or modify it under the terms of the GNU General Public License as 7 | # published by the Free Software Foundation; either version 2 of the 8 | # License, or (at your option) any later version. 9 | # 10 | # HEPData is distributed in the hope that it will be 11 | # useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | # General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with the THOR dashboard; if not, write to the 17 | # Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 18 | # MA 02111-1307, USA. 19 | # 20 | # In applying this license, CERN does not 21 | # waive the privileges and immunities granted to it by virtue of its status 22 | # as an Intergovernmental Organization or submit itself to any jurisdiction. 23 | 24 | __author__ = 'eamonnmaguire' 25 | -------------------------------------------------------------------------------- /thor/config/settings/main.py: -------------------------------------------------------------------------------- 1 | # 2 | # This file is part of the THOR Dashboard Project. 3 | # Copyright (C) 2016 CERN. 4 | # 5 | # The THOR dashboard is free software; you can redistribute it 6 | # and/or modify it under the terms of the GNU General Public License as 7 | # published by the Free Software Foundation; either version 2 of the 8 | # License, or (at your option) any later version. 9 | # 10 | # HEPData is distributed in the hope that it will be 11 | # useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | # General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with the THOR dashboard; if not, write to the 17 | # Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 18 | # MA 02111-1307, USA. 19 | # 20 | # In applying this license, CERN does not 21 | # waive the privileges and immunities granted to it by virtue of its status 22 | # as an Intergovernmental Organization or submit itself to any jurisdiction. 23 | 24 | 25 | # Build paths inside the project like this: os.path.join(BASE_DIR, ...) 26 | import os 27 | 28 | BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 29 | 30 | 31 | # Quick-start development settings - unsuitable for production 32 | # See https://docs.djangoproject.com/en/1.8/howto/deployment/checklist/ 33 | 34 | # SECURITY WARNING: keep the secret key used in production secret! 35 | SECRET_KEY = 'ty4wmd=&yopk#u*q4l)00#2!#e15a^@-z_tv(pc3t^edv)sh&r' 36 | 37 | # SECURITY WARNING: don't run with debug turned on in production! 38 | DEBUG = True 39 | 40 | ALLOWED_HOSTS = [] 41 | 42 | 43 | # Application definition 44 | 45 | INSTALLED_APPS = ( 46 | 'grappelli', 47 | 'django.contrib.auth', 48 | 'django.contrib.contenttypes', 49 | 'django.contrib.sessions', 50 | 'django.contrib.messages', 51 | 'django.contrib.staticfiles', 52 | 53 | 'thor.modules.dashboard', 54 | 'thor.modules.api', 55 | 'django.contrib.admin', 56 | 57 | 'registration', 58 | 59 | ) 60 | 61 | MIDDLEWARE_CLASSES = ( 62 | 'django.contrib.sessions.middleware.SessionMiddleware', 63 | 'django.middleware.common.CommonMiddleware', 64 | 'django.middleware.csrf.CsrfViewMiddleware', 65 | 'django.contrib.auth.middleware.AuthenticationMiddleware', 66 | 'django.contrib.messages.middleware.MessageMiddleware', 67 | 'django.middleware.clickjacking.XFrameOptionsMiddleware', 68 | # 'django.middleware.security.SecurityMiddleware', 69 | ) 70 | 71 | ACCOUNT_ACTIVATION_DAYS = 7 72 | 73 | ROOT_URLCONF = 'thor.config.urls' 74 | 75 | TEMPLATES = [ 76 | { 77 | 'BACKEND': 'django.template.backends.django.DjangoTemplates', 78 | 'DIRS': [], 79 | 'APP_DIRS': True, 80 | 'OPTIONS': { 81 | 'context_processors': [ 82 | 'django.template.context_processors.debug', 83 | 'django.template.context_processors.request', 84 | 'django.contrib.auth.context_processors.auth', 85 | 'django.contrib.messages.context_processors.messages', 86 | ], 87 | }, 88 | }, 89 | ] 90 | 91 | WSGI_APPLICATION = 'thor.config.apache.wsgi.application' 92 | 93 | # Database 94 | # https://docs.djangoproject.com/en/1.8/ref/settings/#databases 95 | 96 | DATABASES = { 97 | 'default': { 98 | 'ENGINE': 'django.db.backends.sqlite3', 99 | 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), 100 | } 101 | } 102 | 103 | 104 | # Internationalization 105 | # https://docs.djangoproject.com/en/1.8/topics/i18n/ 106 | 107 | LANGUAGE_CODE = 'en-us' 108 | 109 | TIME_ZONE = 'UTC' 110 | 111 | USE_I18N = True 112 | 113 | USE_L10N = True 114 | 115 | USE_TZ = True 116 | 117 | 118 | # Static files (CSS, JavaScript, Images) 119 | # https://docs.djangoproject.com/en/1.8/howto/static-files/ 120 | 121 | STATIC_URL = '/static/' 122 | 123 | 124 | GRAPPELLI_ADMIN_TITLE = "THOR Admin Interface" 125 | LOGIN_REDIRECT_URL = "/dashboard" -------------------------------------------------------------------------------- /thor/config/settings/prod.py: -------------------------------------------------------------------------------- 1 | # 2 | # This file is part of the THOR Dashboard Project. 3 | # Copyright (C) 2016 CERN. 4 | # 5 | # The THOR dashboard is free software; you can redistribute it 6 | # and/or modify it under the terms of the GNU General Public License as 7 | # published by the Free Software Foundation; either version 2 of the 8 | # License, or (at your option) any later version. 9 | # 10 | # HEPData is distributed in the hope that it will be 11 | # useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | # General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with the THOR dashboard; if not, write to the 17 | # Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 18 | # MA 02111-1307, USA. 19 | # 20 | # In applying this license, CERN does not 21 | # waive the privileges and immunities granted to it by virtue of its status 22 | # as an Intergovernmental Organization or submit itself to any jurisdiction. 23 | 24 | __author__ = 'eamonnmaguire' 25 | 26 | DATABASES = { 27 | 'default': { 28 | 'ENGINE': 'django.db.backends.postgresql_psycopg2', 29 | 'NAME': 'thor', 30 | 'USER': 'django', 31 | 'PASSWORD': '', 32 | 'HOST': 'localhost', 33 | 'PORT': '', 34 | } 35 | } 36 | 37 | 38 | MEDIA_ROOT = '/home/data/thor_dash/' 39 | 40 | # URL that handles the media served from MEDIA_ROOT. Make sure to use a 41 | # trailing slash. 42 | # Examples: "http://example.com/media/", "http://media.example.com/" 43 | MEDIA_URL = 'http://46.101.34.144/data/' 44 | 45 | # Absolute path to the directory static files should be collected to. 46 | # Don't put anything in this directory yourself; store your static files 47 | # in apps' "static/" subdirectories and in STATICFILES_DIRS. 48 | # Example: "/var/www/example.com/static/" 49 | STATIC_ROOT = '/home/static/thor_dash/' 50 | 51 | # URL prefix for static files. 52 | # Example: "http://example.com/static/", "http://static.example.com/" 53 | STATIC_URL = 'http://46.101.34.144/static/' 54 | 55 | 56 | EMAIL_USE_TLS = True 57 | EMAIL_HOST = 'smtp.gmail.com' 58 | EMAIL_HOST_USER = 'sbolhub@gmail.com' 59 | EMAIL_HOST_PASSWORD = '' 60 | EMAIL_PORT = 587 61 | DEFAULT_FROM_EMAIL = 'sbolhub@gmail.com' -------------------------------------------------------------------------------- /thor/config/urls.py: -------------------------------------------------------------------------------- 1 | # 2 | # This file is part of the THOR Dashboard Project. 3 | # Copyright (C) 2016 CERN. 4 | # 5 | # The THOR dashboard is free software; you can redistribute it 6 | # and/or modify it under the terms of the GNU General Public License as 7 | # published by the Free Software Foundation; either version 2 of the 8 | # License, or (at your option) any later version. 9 | # 10 | # HEPData is distributed in the hope that it will be 11 | # useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | # General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with the THOR dashboard; if not, write to the 17 | # Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 18 | # MA 02111-1307, USA. 19 | # 20 | # In applying this license, CERN does not 21 | # waive the privileges and immunities granted to it by virtue of its status 22 | # as an Intergovernmental Organization or submit itself to any jurisdiction. 23 | 24 | from django.conf.urls import patterns, include, url 25 | from django.contrib import admin 26 | from django.views.generic import RedirectView 27 | 28 | urlpatterns = patterns('', 29 | # Examples: 30 | url(r'^admin/', include(admin.site.urls)), 31 | url(r'^accounts/', include('registration.backends.default.urls')), 32 | url(r'accounts/', include('django.contrib.auth.urls')), 33 | url(r'^reset/(?P[0-9A-Za-z_\-]+)/(?P.+)/$', 34 | 'django.contrib.auth.views.password_reset_confirm', name='password_reset_confirm'), 35 | url(r'^$', RedirectView.as_view(url='/dashboard/')), 36 | url(r'^grappelli/', include('grappelli.urls')), 37 | url(r'^dashboard/', include('thor.modules.dashboard.urls')), 38 | 39 | url(r'api/', include('thor.modules.api.urls')), 40 | ) 41 | -------------------------------------------------------------------------------- /thor/modules/__init__.py: -------------------------------------------------------------------------------- 1 | # 2 | # This file is part of the THOR Dashboard Project. 3 | # Copyright (C) 2016 CERN. 4 | # 5 | # The THOR dashboard is free software; you can redistribute it 6 | # and/or modify it under the terms of the GNU General Public License as 7 | # published by the Free Software Foundation; either version 2 of the 8 | # License, or (at your option) any later version. 9 | # 10 | # HEPData is distributed in the hope that it will be 11 | # useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | # General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with the THOR dashboard; if not, write to the 17 | # Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 18 | # MA 02111-1307, USA. 19 | # 20 | # In applying this license, CERN does not 21 | # waive the privileges and immunities granted to it by virtue of its status 22 | # as an Intergovernmental Organization or submit itself to any jurisdiction. 23 | __author__ = 'eamonnmaguire' 24 | -------------------------------------------------------------------------------- /thor/modules/api/__init__.py: -------------------------------------------------------------------------------- 1 | # 2 | # This file is part of the THOR Dashboard Project. 3 | # Copyright (C) 2016 CERN. 4 | # 5 | # The THOR dashboard is free software; you can redistribute it 6 | # and/or modify it under the terms of the GNU General Public License as 7 | # published by the Free Software Foundation; either version 2 of the 8 | # License, or (at your option) any later version. 9 | # 10 | # HEPData is distributed in the hope that it will be 11 | # useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | # General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with the THOR dashboard; if not, write to the 17 | # Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 18 | # MA 02111-1307, USA. 19 | # 20 | # In applying this license, CERN does not 21 | # waive the privileges and immunities granted to it by virtue of its status 22 | # as an Intergovernmental Organization or submit itself to any jurisdiction. 23 | __author__ = 'eamonnmaguire' 24 | -------------------------------------------------------------------------------- /thor/modules/api/data/data_crossref.json: -------------------------------------------------------------------------------- 1 | { 2 | "crossrefs_by_month": [ 3 | { 4 | "total_items": 0, 5 | "date": "2007-01-01", 6 | "restriction": "with_orcids" 7 | }, 8 | { 9 | "total_items": 0, 10 | "date": "2007-01-01", 11 | "restriction": "without_orcids" 12 | }, 13 | { 14 | "total_items": 0, 15 | "date": "2007-02-01", 16 | "restriction": "with_orcids" 17 | }, 18 | { 19 | "total_items": 2252939, 20 | "date": "2007-02-01", 21 | "restriction": "without_orcids" 22 | }, 23 | { 24 | "total_items": 0, 25 | "date": "2007-03-01", 26 | "restriction": "with_orcids" 27 | }, 28 | { 29 | "total_items": 264774, 30 | "date": "2007-03-01", 31 | "restriction": "without_orcids" 32 | }, 33 | { 34 | "total_items": 0, 35 | "date": "2007-04-01", 36 | "restriction": "with_orcids" 37 | }, 38 | { 39 | "total_items": 16297, 40 | "date": "2007-04-01", 41 | "restriction": "without_orcids" 42 | }, 43 | { 44 | "total_items": 0, 45 | "date": "2007-05-01", 46 | "restriction": "with_orcids" 47 | }, 48 | { 49 | "total_items": 21220, 50 | "date": "2007-05-01", 51 | "restriction": "without_orcids" 52 | }, 53 | { 54 | "total_items": 0, 55 | "date": "2007-06-01", 56 | "restriction": "with_orcids" 57 | }, 58 | { 59 | "total_items": 45615, 60 | "date": "2007-06-01", 61 | "restriction": "without_orcids" 62 | }, 63 | { 64 | "total_items": 0, 65 | "date": "2007-07-01", 66 | "restriction": "with_orcids" 67 | }, 68 | { 69 | "total_items": 50178, 70 | "date": "2007-07-01", 71 | "restriction": "without_orcids" 72 | }, 73 | { 74 | "total_items": 0, 75 | "date": "2007-08-01", 76 | "restriction": "with_orcids" 77 | }, 78 | { 79 | "total_items": 41365, 80 | "date": "2007-08-01", 81 | "restriction": "without_orcids" 82 | }, 83 | { 84 | "total_items": 0, 85 | "date": "2007-09-01", 86 | "restriction": "with_orcids" 87 | }, 88 | { 89 | "total_items": 20889, 90 | "date": "2007-09-01", 91 | "restriction": "without_orcids" 92 | }, 93 | { 94 | "total_items": 0, 95 | "date": "2007-10-01", 96 | "restriction": "with_orcids" 97 | }, 98 | { 99 | "total_items": 51383, 100 | "date": "2007-10-01", 101 | "restriction": "without_orcids" 102 | }, 103 | { 104 | "total_items": 0, 105 | "date": "2007-11-01", 106 | "restriction": "with_orcids" 107 | }, 108 | { 109 | "total_items": 68350, 110 | "date": "2007-11-01", 111 | "restriction": "without_orcids" 112 | }, 113 | { 114 | "total_items": 0, 115 | "date": "2007-12-01", 116 | "restriction": "with_orcids" 117 | }, 118 | { 119 | "total_items": 58961, 120 | "date": "2007-12-01", 121 | "restriction": "without_orcids" 122 | }, 123 | { 124 | "total_items": 0, 125 | "date": "2008-01-01", 126 | "restriction": "with_orcids" 127 | }, 128 | { 129 | "total_items": 155076, 130 | "date": "2008-01-01", 131 | "restriction": "without_orcids" 132 | }, 133 | { 134 | "total_items": 0, 135 | "date": "2008-02-01", 136 | "restriction": "with_orcids" 137 | }, 138 | { 139 | "total_items": 59209, 140 | "date": "2008-02-01", 141 | "restriction": "without_orcids" 142 | }, 143 | { 144 | "total_items": 0, 145 | "date": "2008-03-01", 146 | "restriction": "with_orcids" 147 | }, 148 | { 149 | "total_items": 63314, 150 | "date": "2008-03-01", 151 | "restriction": "without_orcids" 152 | }, 153 | { 154 | "total_items": 0, 155 | "date": "2008-04-01", 156 | "restriction": "with_orcids" 157 | }, 158 | { 159 | "total_items": 24618, 160 | "date": "2008-04-01", 161 | "restriction": "without_orcids" 162 | }, 163 | { 164 | "total_items": 0, 165 | "date": "2008-05-01", 166 | "restriction": "with_orcids" 167 | }, 168 | { 169 | "total_items": 24011, 170 | "date": "2008-05-01", 171 | "restriction": "without_orcids" 172 | }, 173 | { 174 | "total_items": 0, 175 | "date": "2008-06-01", 176 | "restriction": "with_orcids" 177 | }, 178 | { 179 | "total_items": 30995, 180 | "date": "2008-06-01", 181 | "restriction": "without_orcids" 182 | }, 183 | { 184 | "total_items": 0, 185 | "date": "2008-07-01", 186 | "restriction": "with_orcids" 187 | }, 188 | { 189 | "total_items": 41384, 190 | "date": "2008-07-01", 191 | "restriction": "without_orcids" 192 | }, 193 | { 194 | "total_items": 0, 195 | "date": "2008-08-01", 196 | "restriction": "with_orcids" 197 | }, 198 | { 199 | "total_items": 52692, 200 | "date": "2008-08-01", 201 | "restriction": "without_orcids" 202 | }, 203 | { 204 | "total_items": 0, 205 | "date": "2008-09-01", 206 | "restriction": "with_orcids" 207 | }, 208 | { 209 | "total_items": 53315, 210 | "date": "2008-09-01", 211 | "restriction": "without_orcids" 212 | }, 213 | { 214 | "total_items": 0, 215 | "date": "2008-10-01", 216 | "restriction": "with_orcids" 217 | }, 218 | { 219 | "total_items": 84644, 220 | "date": "2008-10-01", 221 | "restriction": "without_orcids" 222 | }, 223 | { 224 | "total_items": 0, 225 | "date": "2008-11-01", 226 | "restriction": "with_orcids" 227 | }, 228 | { 229 | "total_items": 94241, 230 | "date": "2008-11-01", 231 | "restriction": "without_orcids" 232 | }, 233 | { 234 | "total_items": 0, 235 | "date": "2008-12-01", 236 | "restriction": "with_orcids" 237 | }, 238 | { 239 | "total_items": 47682, 240 | "date": "2008-12-01", 241 | "restriction": "without_orcids" 242 | }, 243 | { 244 | "total_items": 0, 245 | "date": "2009-01-01", 246 | "restriction": "with_orcids" 247 | }, 248 | { 249 | "total_items": 93849, 250 | "date": "2009-01-01", 251 | "restriction": "without_orcids" 252 | }, 253 | { 254 | "total_items": 0, 255 | "date": "2009-02-01", 256 | "restriction": "with_orcids" 257 | }, 258 | { 259 | "total_items": 54952, 260 | "date": "2009-02-01", 261 | "restriction": "without_orcids" 262 | }, 263 | { 264 | "total_items": 0, 265 | "date": "2009-03-01", 266 | "restriction": "with_orcids" 267 | }, 268 | { 269 | "total_items": 47629, 270 | "date": "2009-03-01", 271 | "restriction": "without_orcids" 272 | }, 273 | { 274 | "total_items": 0, 275 | "date": "2009-04-01", 276 | "restriction": "with_orcids" 277 | }, 278 | { 279 | "total_items": 36943, 280 | "date": "2009-04-01", 281 | "restriction": "without_orcids" 282 | }, 283 | { 284 | "total_items": 0, 285 | "date": "2009-05-01", 286 | "restriction": "with_orcids" 287 | }, 288 | { 289 | "total_items": 44409, 290 | "date": "2009-05-01", 291 | "restriction": "without_orcids" 292 | }, 293 | { 294 | "total_items": 0, 295 | "date": "2009-06-01", 296 | "restriction": "with_orcids" 297 | }, 298 | { 299 | "total_items": 38510, 300 | "date": "2009-06-01", 301 | "restriction": "without_orcids" 302 | }, 303 | { 304 | "total_items": 0, 305 | "date": "2009-07-01", 306 | "restriction": "with_orcids" 307 | }, 308 | { 309 | "total_items": 31187, 310 | "date": "2009-07-01", 311 | "restriction": "without_orcids" 312 | }, 313 | { 314 | "total_items": 0, 315 | "date": "2009-08-01", 316 | "restriction": "with_orcids" 317 | }, 318 | { 319 | "total_items": 40380, 320 | "date": "2009-08-01", 321 | "restriction": "without_orcids" 322 | }, 323 | { 324 | "total_items": 0, 325 | "date": "2009-09-01", 326 | "restriction": "with_orcids" 327 | }, 328 | { 329 | "total_items": 54649, 330 | "date": "2009-09-01", 331 | "restriction": "without_orcids" 332 | }, 333 | { 334 | "total_items": 0, 335 | "date": "2009-10-01", 336 | "restriction": "with_orcids" 337 | }, 338 | { 339 | "total_items": 71347, 340 | "date": "2009-10-01", 341 | "restriction": "without_orcids" 342 | }, 343 | { 344 | "total_items": 0, 345 | "date": "2009-11-01", 346 | "restriction": "with_orcids" 347 | }, 348 | { 349 | "total_items": 162943, 350 | "date": "2009-11-01", 351 | "restriction": "without_orcids" 352 | }, 353 | { 354 | "total_items": 0, 355 | "date": "2009-12-01", 356 | "restriction": "with_orcids" 357 | }, 358 | { 359 | "total_items": 51331, 360 | "date": "2009-12-01", 361 | "restriction": "without_orcids" 362 | }, 363 | { 364 | "total_items": 0, 365 | "date": "2010-01-01", 366 | "restriction": "with_orcids" 367 | }, 368 | { 369 | "total_items": 48184, 370 | "date": "2010-01-01", 371 | "restriction": "without_orcids" 372 | }, 373 | { 374 | "total_items": 0, 375 | "date": "2010-02-01", 376 | "restriction": "with_orcids" 377 | }, 378 | { 379 | "total_items": 41119, 380 | "date": "2010-02-01", 381 | "restriction": "without_orcids" 382 | }, 383 | { 384 | "total_items": 0, 385 | "date": "2010-03-01", 386 | "restriction": "with_orcids" 387 | }, 388 | { 389 | "total_items": 40428, 390 | "date": "2010-03-01", 391 | "restriction": "without_orcids" 392 | }, 393 | { 394 | "total_items": 0, 395 | "date": "2010-04-01", 396 | "restriction": "with_orcids" 397 | }, 398 | { 399 | "total_items": 47279, 400 | "date": "2010-04-01", 401 | "restriction": "without_orcids" 402 | }, 403 | { 404 | "total_items": 0, 405 | "date": "2010-05-01", 406 | "restriction": "with_orcids" 407 | }, 408 | { 409 | "total_items": 252161, 410 | "date": "2010-05-01", 411 | "restriction": "without_orcids" 412 | }, 413 | { 414 | "total_items": 0, 415 | "date": "2010-06-01", 416 | "restriction": "with_orcids" 417 | }, 418 | { 419 | "total_items": 119925, 420 | "date": "2010-06-01", 421 | "restriction": "without_orcids" 422 | }, 423 | { 424 | "total_items": 0, 425 | "date": "2010-07-01", 426 | "restriction": "with_orcids" 427 | }, 428 | { 429 | "total_items": 63893, 430 | "date": "2010-07-01", 431 | "restriction": "without_orcids" 432 | }, 433 | { 434 | "total_items": 0, 435 | "date": "2010-08-01", 436 | "restriction": "with_orcids" 437 | }, 438 | { 439 | "total_items": 55534, 440 | "date": "2010-08-01", 441 | "restriction": "without_orcids" 442 | }, 443 | { 444 | "total_items": 0, 445 | "date": "2010-09-01", 446 | "restriction": "with_orcids" 447 | }, 448 | { 449 | "total_items": 67235, 450 | "date": "2010-09-01", 451 | "restriction": "without_orcids" 452 | }, 453 | { 454 | "total_items": 0, 455 | "date": "2010-10-01", 456 | "restriction": "with_orcids" 457 | }, 458 | { 459 | "total_items": 49563, 460 | "date": "2010-10-01", 461 | "restriction": "without_orcids" 462 | }, 463 | { 464 | "total_items": 0, 465 | "date": "2010-11-01", 466 | "restriction": "with_orcids" 467 | }, 468 | { 469 | "total_items": 222041, 470 | "date": "2010-11-01", 471 | "restriction": "without_orcids" 472 | }, 473 | { 474 | "total_items": 0, 475 | "date": "2010-12-01", 476 | "restriction": "with_orcids" 477 | }, 478 | { 479 | "total_items": 90767, 480 | "date": "2010-12-01", 481 | "restriction": "without_orcids" 482 | }, 483 | { 484 | "total_items": 0, 485 | "date": "2011-01-01", 486 | "restriction": "with_orcids" 487 | }, 488 | { 489 | "total_items": 98958, 490 | "date": "2011-01-01", 491 | "restriction": "without_orcids" 492 | }, 493 | { 494 | "total_items": 0, 495 | "date": "2011-02-01", 496 | "restriction": "with_orcids" 497 | }, 498 | { 499 | "total_items": 162189, 500 | "date": "2011-02-01", 501 | "restriction": "without_orcids" 502 | }, 503 | { 504 | "total_items": 0, 505 | "date": "2011-03-01", 506 | "restriction": "with_orcids" 507 | }, 508 | { 509 | "total_items": 260203, 510 | "date": "2011-03-01", 511 | "restriction": "without_orcids" 512 | }, 513 | { 514 | "total_items": 0, 515 | "date": "2011-04-01", 516 | "restriction": "with_orcids" 517 | }, 518 | { 519 | "total_items": 426432, 520 | "date": "2011-04-01", 521 | "restriction": "without_orcids" 522 | }, 523 | { 524 | "total_items": 0, 525 | "date": "2011-05-01", 526 | "restriction": "with_orcids" 527 | }, 528 | { 529 | "total_items": 171753, 530 | "date": "2011-05-01", 531 | "restriction": "without_orcids" 532 | }, 533 | { 534 | "total_items": 0, 535 | "date": "2011-06-01", 536 | "restriction": "with_orcids" 537 | }, 538 | { 539 | "total_items": 512278, 540 | "date": "2011-06-01", 541 | "restriction": "without_orcids" 542 | }, 543 | { 544 | "total_items": 0, 545 | "date": "2011-07-01", 546 | "restriction": "with_orcids" 547 | }, 548 | { 549 | "total_items": 628688, 550 | "date": "2011-07-01", 551 | "restriction": "without_orcids" 552 | }, 553 | { 554 | "total_items": 0, 555 | "date": "2011-08-01", 556 | "restriction": "with_orcids" 557 | }, 558 | { 559 | "total_items": 802335, 560 | "date": "2011-08-01", 561 | "restriction": "without_orcids" 562 | }, 563 | { 564 | "total_items": 0, 565 | "date": "2011-09-01", 566 | "restriction": "with_orcids" 567 | }, 568 | { 569 | "total_items": 204226, 570 | "date": "2011-09-01", 571 | "restriction": "without_orcids" 572 | }, 573 | { 574 | "total_items": 0, 575 | "date": "2011-10-01", 576 | "restriction": "with_orcids" 577 | }, 578 | { 579 | "total_items": 171898, 580 | "date": "2011-10-01", 581 | "restriction": "without_orcids" 582 | }, 583 | { 584 | "total_items": 0, 585 | "date": "2011-11-01", 586 | "restriction": "with_orcids" 587 | }, 588 | { 589 | "total_items": 334639, 590 | "date": "2011-11-01", 591 | "restriction": "without_orcids" 592 | }, 593 | { 594 | "total_items": 0, 595 | "date": "2011-12-01", 596 | "restriction": "with_orcids" 597 | }, 598 | { 599 | "total_items": 192025, 600 | "date": "2011-12-01", 601 | "restriction": "without_orcids" 602 | }, 603 | { 604 | "total_items": 0, 605 | "date": "2012-01-01", 606 | "restriction": "with_orcids" 607 | }, 608 | { 609 | "total_items": 215988, 610 | "date": "2012-01-01", 611 | "restriction": "without_orcids" 612 | }, 613 | { 614 | "total_items": 0, 615 | "date": "2012-02-01", 616 | "restriction": "with_orcids" 617 | }, 618 | { 619 | "total_items": 196732, 620 | "date": "2012-02-01", 621 | "restriction": "without_orcids" 622 | }, 623 | { 624 | "total_items": 0, 625 | "date": "2012-03-01", 626 | "restriction": "with_orcids" 627 | }, 628 | { 629 | "total_items": 151124, 630 | "date": "2012-03-01", 631 | "restriction": "without_orcids" 632 | }, 633 | { 634 | "total_items": 0, 635 | "date": "2012-04-01", 636 | "restriction": "with_orcids" 637 | }, 638 | { 639 | "total_items": 125274, 640 | "date": "2012-04-01", 641 | "restriction": "without_orcids" 642 | }, 643 | { 644 | "total_items": 0, 645 | "date": "2012-05-01", 646 | "restriction": "with_orcids" 647 | }, 648 | { 649 | "total_items": 100083, 650 | "date": "2012-05-01", 651 | "restriction": "without_orcids" 652 | }, 653 | { 654 | "total_items": 0, 655 | "date": "2012-06-01", 656 | "restriction": "with_orcids" 657 | }, 658 | { 659 | "total_items": 82550, 660 | "date": "2012-06-01", 661 | "restriction": "without_orcids" 662 | }, 663 | { 664 | "total_items": 0, 665 | "date": "2012-07-01", 666 | "restriction": "with_orcids" 667 | }, 668 | { 669 | "total_items": 318009, 670 | "date": "2012-07-01", 671 | "restriction": "without_orcids" 672 | }, 673 | { 674 | "total_items": 0, 675 | "date": "2012-08-01", 676 | "restriction": "with_orcids" 677 | }, 678 | { 679 | "total_items": 115868, 680 | "date": "2012-08-01", 681 | "restriction": "without_orcids" 682 | }, 683 | { 684 | "total_items": 0, 685 | "date": "2012-09-01", 686 | "restriction": "with_orcids" 687 | }, 688 | { 689 | "total_items": 228745, 690 | "date": "2012-09-01", 691 | "restriction": "without_orcids" 692 | }, 693 | { 694 | "total_items": 0, 695 | "date": "2012-10-01", 696 | "restriction": "with_orcids" 697 | }, 698 | { 699 | "total_items": 76241, 700 | "date": "2012-10-01", 701 | "restriction": "without_orcids" 702 | }, 703 | { 704 | "total_items": 0, 705 | "date": "2012-11-01", 706 | "restriction": "with_orcids" 707 | }, 708 | { 709 | "total_items": 288716, 710 | "date": "2012-11-01", 711 | "restriction": "without_orcids" 712 | }, 713 | { 714 | "total_items": 39, 715 | "date": "2012-12-01", 716 | "restriction": "with_orcids" 717 | }, 718 | { 719 | "total_items": 450689, 720 | "date": "2012-12-01", 721 | "restriction": "without_orcids" 722 | }, 723 | { 724 | "total_items": 54, 725 | "date": "2013-01-01", 726 | "restriction": "with_orcids" 727 | }, 728 | { 729 | "total_items": 1378146, 730 | "date": "2013-01-01", 731 | "restriction": "without_orcids" 732 | }, 733 | { 734 | "total_items": 75, 735 | "date": "2013-02-01", 736 | "restriction": "with_orcids" 737 | }, 738 | { 739 | "total_items": 1413169, 740 | "date": "2013-02-01", 741 | "restriction": "without_orcids" 742 | }, 743 | { 744 | "total_items": 88, 745 | "date": "2013-03-01", 746 | "restriction": "with_orcids" 747 | }, 748 | { 749 | "total_items": 1350979, 750 | "date": "2013-03-01", 751 | "restriction": "without_orcids" 752 | }, 753 | { 754 | "total_items": 71, 755 | "date": "2013-04-01", 756 | "restriction": "with_orcids" 757 | }, 758 | { 759 | "total_items": 812785, 760 | "date": "2013-04-01", 761 | "restriction": "without_orcids" 762 | }, 763 | { 764 | "total_items": 74, 765 | "date": "2013-05-01", 766 | "restriction": "with_orcids" 767 | }, 768 | { 769 | "total_items": 260546, 770 | "date": "2013-05-01", 771 | "restriction": "without_orcids" 772 | }, 773 | { 774 | "total_items": 71, 775 | "date": "2013-06-01", 776 | "restriction": "with_orcids" 777 | }, 778 | { 779 | "total_items": 295063, 780 | "date": "2013-06-01", 781 | "restriction": "without_orcids" 782 | }, 783 | { 784 | "total_items": 103, 785 | "date": "2013-07-01", 786 | "restriction": "with_orcids" 787 | }, 788 | { 789 | "total_items": 258087, 790 | "date": "2013-07-01", 791 | "restriction": "without_orcids" 792 | }, 793 | { 794 | "total_items": 100, 795 | "date": "2013-08-01", 796 | "restriction": "with_orcids" 797 | }, 798 | { 799 | "total_items": 288505, 800 | "date": "2013-08-01", 801 | "restriction": "without_orcids" 802 | }, 803 | { 804 | "total_items": 109, 805 | "date": "2013-09-01", 806 | "restriction": "with_orcids" 807 | }, 808 | { 809 | "total_items": 397877, 810 | "date": "2013-09-01", 811 | "restriction": "without_orcids" 812 | }, 813 | { 814 | "total_items": 126, 815 | "date": "2013-10-01", 816 | "restriction": "with_orcids" 817 | }, 818 | { 819 | "total_items": 254347, 820 | "date": "2013-10-01", 821 | "restriction": "without_orcids" 822 | }, 823 | { 824 | "total_items": 171, 825 | "date": "2013-11-01", 826 | "restriction": "with_orcids" 827 | }, 828 | { 829 | "total_items": 306581, 830 | "date": "2013-11-01", 831 | "restriction": "without_orcids" 832 | }, 833 | { 834 | "total_items": 157, 835 | "date": "2013-12-01", 836 | "restriction": "with_orcids" 837 | }, 838 | { 839 | "total_items": 742012, 840 | "date": "2013-12-01", 841 | "restriction": "without_orcids" 842 | }, 843 | { 844 | "total_items": 199, 845 | "date": "2014-01-01", 846 | "restriction": "with_orcids" 847 | }, 848 | { 849 | "total_items": 1598026, 850 | "date": "2014-01-01", 851 | "restriction": "without_orcids" 852 | }, 853 | { 854 | "total_items": 186, 855 | "date": "2014-02-01", 856 | "restriction": "with_orcids" 857 | }, 858 | { 859 | "total_items": 280331, 860 | "date": "2014-02-01", 861 | "restriction": "without_orcids" 862 | }, 863 | { 864 | "total_items": 197, 865 | "date": "2014-03-01", 866 | "restriction": "with_orcids" 867 | }, 868 | { 869 | "total_items": 299278, 870 | "date": "2014-03-01", 871 | "restriction": "without_orcids" 872 | }, 873 | { 874 | "total_items": 201, 875 | "date": "2014-04-01", 876 | "restriction": "with_orcids" 877 | }, 878 | { 879 | "total_items": 229464, 880 | "date": "2014-04-01", 881 | "restriction": "without_orcids" 882 | }, 883 | { 884 | "total_items": 211, 885 | "date": "2014-05-01", 886 | "restriction": "with_orcids" 887 | }, 888 | { 889 | "total_items": 501524, 890 | "date": "2014-05-01", 891 | "restriction": "without_orcids" 892 | }, 893 | { 894 | "total_items": 243, 895 | "date": "2014-06-01", 896 | "restriction": "with_orcids" 897 | }, 898 | { 899 | "total_items": 225993, 900 | "date": "2014-06-01", 901 | "restriction": "without_orcids" 902 | }, 903 | { 904 | "total_items": 297, 905 | "date": "2014-07-01", 906 | "restriction": "with_orcids" 907 | }, 908 | { 909 | "total_items": 414177, 910 | "date": "2014-07-01", 911 | "restriction": "without_orcids" 912 | }, 913 | { 914 | "total_items": 2354, 915 | "date": "2014-08-01", 916 | "restriction": "with_orcids" 917 | }, 918 | { 919 | "total_items": 434824, 920 | "date": "2014-08-01", 921 | "restriction": "without_orcids" 922 | }, 923 | { 924 | "total_items": 2358, 925 | "date": "2014-09-01", 926 | "restriction": "with_orcids" 927 | }, 928 | { 929 | "total_items": 341268, 930 | "date": "2014-09-01", 931 | "restriction": "without_orcids" 932 | }, 933 | { 934 | "total_items": 1891, 935 | "date": "2014-10-01", 936 | "restriction": "with_orcids" 937 | }, 938 | { 939 | "total_items": 354459, 940 | "date": "2014-10-01", 941 | "restriction": "without_orcids" 942 | }, 943 | { 944 | "total_items": 2824, 945 | "date": "2014-11-01", 946 | "restriction": "with_orcids" 947 | }, 948 | { 949 | "total_items": 450848, 950 | "date": "2014-11-01", 951 | "restriction": "without_orcids" 952 | }, 953 | { 954 | "total_items": 2479, 955 | "date": "2014-12-01", 956 | "restriction": "with_orcids" 957 | }, 958 | { 959 | "total_items": 377620, 960 | "date": "2014-12-01", 961 | "restriction": "without_orcids" 962 | }, 963 | { 964 | "total_items": 538, 965 | "date": "2015-01-01", 966 | "restriction": "with_orcids" 967 | }, 968 | { 969 | "total_items": 233518, 970 | "date": "2015-01-01", 971 | "restriction": "without_orcids" 972 | }, 973 | { 974 | "total_items": 17346, 975 | "date": "2015-02-01", 976 | "restriction": "with_orcids" 977 | }, 978 | { 979 | "total_items": 2109949, 980 | "date": "2015-02-01", 981 | "restriction": "without_orcids" 982 | }, 983 | { 984 | "total_items": 12253, 985 | "date": "2015-03-01", 986 | "restriction": "with_orcids" 987 | }, 988 | { 989 | "total_items": 796797, 990 | "date": "2015-03-01", 991 | "restriction": "without_orcids" 992 | }, 993 | { 994 | "total_items": 9921, 995 | "date": "2015-04-01", 996 | "restriction": "with_orcids" 997 | }, 998 | { 999 | "total_items": 919777, 1000 | "date": "2015-04-01", 1001 | "restriction": "without_orcids" 1002 | }, 1003 | { 1004 | "total_items": 4811, 1005 | "date": "2015-05-01", 1006 | "restriction": "with_orcids" 1007 | }, 1008 | { 1009 | "total_items": 559323, 1010 | "date": "2015-05-01", 1011 | "restriction": "without_orcids" 1012 | }, 1013 | { 1014 | "total_items": 2614, 1015 | "date": "2015-06-01", 1016 | "restriction": "with_orcids" 1017 | }, 1018 | { 1019 | "total_items": 1179684, 1020 | "date": "2015-06-01", 1021 | "restriction": "without_orcids" 1022 | }, 1023 | { 1024 | "total_items": 2767, 1025 | "date": "2015-07-01", 1026 | "restriction": "with_orcids" 1027 | }, 1028 | { 1029 | "total_items": 612445, 1030 | "date": "2015-07-01", 1031 | "restriction": "without_orcids" 1032 | }, 1033 | { 1034 | "total_items": 15214, 1035 | "date": "2015-08-01", 1036 | "restriction": "with_orcids" 1037 | }, 1038 | { 1039 | "total_items": 859142, 1040 | "date": "2015-08-01", 1041 | "restriction": "without_orcids" 1042 | }, 1043 | { 1044 | "total_items": 3742, 1045 | "date": "2015-09-01", 1046 | "restriction": "with_orcids" 1047 | }, 1048 | { 1049 | "total_items": 3585802, 1050 | "date": "2015-09-01", 1051 | "restriction": "without_orcids" 1052 | }, 1053 | { 1054 | "total_items": 4446, 1055 | "date": "2015-10-01", 1056 | "restriction": "with_orcids" 1057 | }, 1058 | { 1059 | "total_items": 2523401, 1060 | "date": "2015-10-01", 1061 | "restriction": "without_orcids" 1062 | }, 1063 | { 1064 | "total_items": 4378, 1065 | "date": "2015-11-01", 1066 | "restriction": "with_orcids" 1067 | }, 1068 | { 1069 | "total_items": 1898670, 1070 | "date": "2015-11-01", 1071 | "restriction": "without_orcids" 1072 | }, 1073 | { 1074 | "total_items": 4096, 1075 | "date": "2015-12-01", 1076 | "restriction": "with_orcids" 1077 | }, 1078 | { 1079 | "total_items": 2040717, 1080 | "date": "2015-12-01", 1081 | "restriction": "without_orcids" 1082 | }, 1083 | { 1084 | "total_items": 5976, 1085 | "date": "2016-01-01", 1086 | "restriction": "with_orcids" 1087 | }, 1088 | { 1089 | "total_items": 1568988, 1090 | "date": "2016-01-01", 1091 | "restriction": "without_orcids" 1092 | }, 1093 | { 1094 | "total_items": 7200, 1095 | "date": "2016-02-01", 1096 | "restriction": "with_orcids" 1097 | }, 1098 | { 1099 | "total_items": 948114, 1100 | "date": "2016-02-01", 1101 | "restriction": "without_orcids" 1102 | }, 1103 | { 1104 | "total_items": 6254, 1105 | "date": "2016-03-01", 1106 | "restriction": "with_orcids" 1107 | }, 1108 | { 1109 | "total_items": 572118, 1110 | "date": "2016-03-01", 1111 | "restriction": "without_orcids" 1112 | }, 1113 | { 1114 | "total_items": 8243, 1115 | "date": "2016-04-01", 1116 | "restriction": "with_orcids" 1117 | }, 1118 | { 1119 | "total_items": 428116, 1120 | "date": "2016-04-01", 1121 | "restriction": "without_orcids" 1122 | }, 1123 | { 1124 | "total_items": 11285, 1125 | "date": "2016-05-01", 1126 | "restriction": "with_orcids" 1127 | }, 1128 | { 1129 | "total_items": 881170, 1130 | "date": "2016-05-01", 1131 | "restriction": "without_orcids" 1132 | }, 1133 | { 1134 | "total_items": 10254, 1135 | "date": "2016-06-01", 1136 | "restriction": "with_orcids" 1137 | }, 1138 | { 1139 | "total_items": 783703, 1140 | "date": "2016-06-01", 1141 | "restriction": "without_orcids" 1142 | }, 1143 | { 1144 | "total_items": 33582, 1145 | "date": "2016-07-01", 1146 | "restriction": "with_orcids" 1147 | }, 1148 | { 1149 | "total_items": 722799, 1150 | "date": "2016-07-01", 1151 | "restriction": "without_orcids" 1152 | }, 1153 | { 1154 | "total_items": 43087, 1155 | "date": "2016-08-01", 1156 | "restriction": "with_orcids" 1157 | }, 1158 | { 1159 | "total_items": 1662932, 1160 | "date": "2016-08-01", 1161 | "restriction": "without_orcids" 1162 | }, 1163 | { 1164 | "total_items": 68468, 1165 | "date": "2016-09-01", 1166 | "restriction": "with_orcids" 1167 | }, 1168 | { 1169 | "total_items": 2256979, 1170 | "date": "2016-09-01", 1171 | "restriction": "without_orcids" 1172 | }, 1173 | { 1174 | "total_items": 44487, 1175 | "date": "2016-10-01", 1176 | "restriction": "with_orcids" 1177 | }, 1178 | { 1179 | "total_items": 1865989, 1180 | "date": "2016-10-01", 1181 | "restriction": "without_orcids" 1182 | }, 1183 | { 1184 | "total_items": 20966, 1185 | "date": "2016-11-01", 1186 | "restriction": "with_orcids" 1187 | }, 1188 | { 1189 | "total_items": 1202095, 1190 | "date": "2016-11-01", 1191 | "restriction": "without_orcids" 1192 | }, 1193 | { 1194 | "total_items": 61873, 1195 | "date": "2016-12-01", 1196 | "restriction": "with_orcids" 1197 | }, 1198 | { 1199 | "total_items": 9438388, 1200 | "date": "2016-12-01", 1201 | "restriction": "without_orcids" 1202 | }, 1203 | { 1204 | "total_items": 52684, 1205 | "date": "2017-01-01", 1206 | "restriction": "with_orcids" 1207 | }, 1208 | { 1209 | "total_items": 4050757, 1210 | "date": "2017-01-01", 1211 | "restriction": "without_orcids" 1212 | }, 1213 | { 1214 | "total_items": 55198, 1215 | "date": "2017-02-01", 1216 | "restriction": "with_orcids" 1217 | }, 1218 | { 1219 | "total_items": 1732224, 1220 | "date": "2017-02-01", 1221 | "restriction": "without_orcids" 1222 | }, 1223 | { 1224 | "total_items": 99055, 1225 | "date": "2017-03-01", 1226 | "restriction": "with_orcids" 1227 | }, 1228 | { 1229 | "total_items": 9897271, 1230 | "date": "2017-03-01", 1231 | "restriction": "without_orcids" 1232 | }, 1233 | { 1234 | "total_items": 74094, 1235 | "date": "2017-04-01", 1236 | "restriction": "with_orcids" 1237 | }, 1238 | { 1239 | "total_items": 8395380, 1240 | "date": "2017-04-01", 1241 | "restriction": "without_orcids" 1242 | }, 1243 | { 1244 | "total_items": 28393, 1245 | "date": "2017-05-01", 1246 | "restriction": "with_orcids" 1247 | }, 1248 | { 1249 | "total_items": 914021, 1250 | "date": "2017-05-01", 1251 | "restriction": "without_orcids" 1252 | } 1253 | ] 1254 | } -------------------------------------------------------------------------------- /thor/modules/api/data/data_orcid.json: -------------------------------------------------------------------------------- 1 | [{"funding_month": 0, "works_month": 1421044, "works": 1421044, "funding": 0, "idsWithWorks_month": 51769, "employment_month": 0, "education_month": 0, "education": 0, "worksWithDois": 789257, "liveIds_month": 178497, "uniqueDois": 0, "idsWithVerifiedEmail": 115720, "idsWithWorks": 51769, "uniqueDois_month": 0, "idsWithVerifiedEmail_month": 115720, "date": "2013-06-01", "worksWithDois_month": 789257, "liveIds": 178497, "employment": 0}, {"funding_month": 0, "works_month": 138174, "works": 1559218, "funding": 0, "idsWithWorks_month": 6475, "employment_month": 0, "education_month": 0, "education": 0, "worksWithDois": 886555, "liveIds_month": 26376, "uniqueDois": 0, "idsWithVerifiedEmail": 131297, "idsWithWorks": 58244, "uniqueDois_month": 0, "idsWithVerifiedEmail_month": 15577, "date": "2013-07-01", "worksWithDois_month": 97298, "liveIds": 204873, "employment": 0}, {"funding_month": 0, "works_month": 254158, "works": 1813376, "funding": 0, "idsWithWorks_month": 8847, "employment_month": 0, "education_month": 0, "education": 0, "worksWithDois": 1047565, "liveIds_month": 48514, "uniqueDois": 0, "idsWithVerifiedEmail": 160368, "idsWithWorks": 67091, "uniqueDois_month": 0, "idsWithVerifiedEmail_month": 29071, "date": "2013-08-01", "worksWithDois_month": 161010, "liveIds": 253387, "employment": 0}, {"funding_month": 0, "works_month": 279447, "works": 2092823, "funding": 0, "idsWithWorks_month": 8828, "employment_month": 0, "education_month": 0, "education": 0, "worksWithDois": 1205096, "liveIds_month": 52983, "uniqueDois": 0, "idsWithVerifiedEmail": 191925, "idsWithWorks": 75919, "uniqueDois_month": 0, "idsWithVerifiedEmail_month": 31557, "date": "2013-09-01", "worksWithDois_month": 157531, "liveIds": 306370, "employment": 0}, {"funding_month": 0, "works_month": 225508, "works": 2318331, "funding": 0, "idsWithWorks_month": 7017, "employment_month": 0, "education_month": 0, "education": 0, "worksWithDois": 1330994, "liveIds_month": 45671, "uniqueDois": 0, "idsWithVerifiedEmail": 222482, "idsWithWorks": 82936, "uniqueDois_month": 0, "idsWithVerifiedEmail_month": 30557, "date": "2013-10-01", "worksWithDois_month": 125898, "liveIds": 352041, "employment": 0}, {"funding_month": 0, "works_month": 453891, "works": 2772222, "funding": 0, "idsWithWorks_month": 16325, "employment_month": 0, "education_month": 0, "education": 0, "worksWithDois": 1551330, "liveIds_month": 64451, "uniqueDois": 0, "idsWithVerifiedEmail": 266785, "idsWithWorks": 99261, "uniqueDois_month": 0, "idsWithVerifiedEmail_month": 44303, "date": "2013-11-01", "worksWithDois_month": 220336, "liveIds": 416492, "employment": 0}, {"funding_month": 0, "works_month": 293140, "works": 3065362, "funding": 0, "idsWithWorks_month": 10333, "employment_month": 0, "education_month": 0, "education": 0, "worksWithDois": 1658575, "liveIds_month": 48837, "uniqueDois": 0, "idsWithVerifiedEmail": 300527, "idsWithWorks": 109594, "uniqueDois_month": 0, "idsWithVerifiedEmail_month": 33742, "date": "2013-12-01", "worksWithDois_month": 107245, "liveIds": 465329, "employment": 0}, {"funding_month": 0, "works_month": 185062, "works": 3250424, "funding": 0, "idsWithWorks_month": 5980, "employment_month": 0, "education_month": 0, "education": 0, "worksWithDois": 1753250, "liveIds_month": 40446, "uniqueDois": 0, "idsWithVerifiedEmail": 328064, "idsWithWorks": 115574, "uniqueDois_month": 0, "idsWithVerifiedEmail_month": 27537, "date": "2014-01-01", "worksWithDois_month": 94675, "liveIds": 505775, "employment": 0}, {"funding_month": 0, "works_month": 165372, "works": 3415796, "funding": 0, "idsWithWorks_month": 5955, "employment_month": 0, "education_month": 0, "education": 0, "worksWithDois": 1843856, "liveIds_month": 45428, "uniqueDois": 0, "idsWithVerifiedEmail": 355916, "idsWithWorks": 121529, "uniqueDois_month": 0, "idsWithVerifiedEmail_month": 27852, "date": "2014-02-01", "worksWithDois_month": 90606, "liveIds": 551203, "employment": 0}, {"funding_month": 0, "works_month": 298697, "works": 3714493, "funding": 0, "idsWithWorks_month": 9360, "employment_month": 0, "education_month": 0, "education": 0, "worksWithDois": 2000179, "liveIds_month": 79618, "uniqueDois": 0, "idsWithVerifiedEmail": 406827, "idsWithWorks": 130889, "uniqueDois_month": 0, "idsWithVerifiedEmail_month": 50911, "date": "2014-03-01", "worksWithDois_month": 156323, "liveIds": 630821, "employment": 0}, {"funding_month": 0, "works_month": 177725, "works": 3892218, "funding": 0, "idsWithWorks_month": 5737, "employment_month": 0, "education_month": 0, "education": 0, "worksWithDois": 2056840, "liveIds_month": 43708, "uniqueDois": 0, "idsWithVerifiedEmail": 438413, "idsWithWorks": 136626, "uniqueDois_month": 0, "idsWithVerifiedEmail_month": 31586, "date": "2014-04-01", "worksWithDois_month": 56661, "liveIds": 674529, "employment": 0}, {"funding_month": 0, "works_month": 327352, "works": 4219570, "funding": 0, "idsWithWorks_month": 7977, "employment_month": 0, "education_month": 0, "education": 0, "worksWithDois": 2159013, "liveIds_month": 52925, "uniqueDois": 0, "idsWithVerifiedEmail": 473296, "idsWithWorks": 144603, "uniqueDois_month": 0, "idsWithVerifiedEmail_month": 34883, "date": "2014-05-01", "worksWithDois_month": 102173, "liveIds": 727454, "employment": 0}, {"funding_month": 0, "works_month": 182028, "works": 4401598, "funding": 0, "idsWithWorks_month": 5496, "employment_month": 0, "education_month": 0, "education": 0, "worksWithDois": 2227115, "liveIds_month": 40286, "uniqueDois": 0, "idsWithVerifiedEmail": 499383, "idsWithWorks": 150099, "uniqueDois_month": 0, "idsWithVerifiedEmail_month": 26087, "date": "2014-06-01", "worksWithDois_month": 68102, "liveIds": 767740, "employment": 0}, {"funding_month": 0, "works_month": 174257, "works": 4575855, "funding": 0, "idsWithWorks_month": 5603, "employment_month": 0, "education_month": 0, "education": 0, "worksWithDois": 2227094, "liveIds_month": 44777, "uniqueDois": 0, "idsWithVerifiedEmail": 527639, "idsWithWorks": 155702, "uniqueDois_month": 0, "idsWithVerifiedEmail_month": 28256, "date": "2014-07-01", "worksWithDois_month": 0, "liveIds": 812517, "employment": 0}, {"funding_month": 0, "works_month": 221493, "works": 4797348, "funding": 0, "idsWithWorks_month": 7206, "employment_month": 0, "education_month": 0, "education": 0, "worksWithDois": 2226932, "liveIds_month": 49983, "uniqueDois": 0, "idsWithVerifiedEmail": 560771, "idsWithWorks": 162908, "uniqueDois_month": 0, "idsWithVerifiedEmail_month": 33132, "date": "2014-08-01", "worksWithDois_month": 0, "liveIds": 862500, "employment": 0}, {"funding_month": 0, "works_month": 345727, "works": 5143075, "funding": 0, "idsWithWorks_month": 11388, "employment_month": 0, "education_month": 0, "education": 0, "worksWithDois": 2226784, "liveIds_month": 53953, "uniqueDois": 0, "idsWithVerifiedEmail": 598897, "idsWithWorks": 174296, "uniqueDois_month": 0, "idsWithVerifiedEmail_month": 38126, "date": "2014-09-01", "worksWithDois_month": 0, "liveIds": 916453, "employment": 0}, {"funding_month": 0, "works_month": 72246, "works": 5215321, "funding": 0, "idsWithWorks_month": 7839, "employment_month": 0, "education_month": 0, "education": 0, "worksWithDois": 2226709, "liveIds_month": 48185, "uniqueDois": 0, "idsWithVerifiedEmail": 629498, "idsWithWorks": 182135, "uniqueDois_month": 0, "idsWithVerifiedEmail_month": 30601, "date": "2014-10-01", "worksWithDois_month": 0, "liveIds": 964638, "employment": 0}, {"funding_month": 0, "works_month": 186271, "works": 5401592, "funding": 0, "idsWithWorks_month": 8875, "employment_month": 0, "education_month": 0, "education": 0, "worksWithDois": 2222790, "liveIds_month": 57979, "uniqueDois": 0, "idsWithVerifiedEmail": 667898, "idsWithWorks": 191010, "uniqueDois_month": 0, "idsWithVerifiedEmail_month": 38400, "date": "2014-11-01", "worksWithDois_month": 0, "liveIds": 1022617, "employment": 0}, {"funding_month": 0, "works_month": 296229, "works": 5697821, "funding": 0, "idsWithWorks_month": 7862, "employment_month": 0, "education_month": 0, "education": 0, "worksWithDois": 2219595, "liveIds_month": 52605, "uniqueDois": 0, "idsWithVerifiedEmail": 700567, "idsWithWorks": 198872, "uniqueDois_month": 0, "idsWithVerifiedEmail_month": 32669, "date": "2014-12-01", "worksWithDois_month": 0, "liveIds": 1075222, "employment": 0}, {"funding_month": 0, "works_month": 309942, "works": 6007763, "funding": 0, "idsWithWorks_month": 9110, "employment_month": 0, "education_month": 0, "education": 0, "worksWithDois": 2214335, "liveIds_month": 63680, "uniqueDois": 0, "idsWithVerifiedEmail": 743416, "idsWithWorks": 207982, "uniqueDois_month": 0, "idsWithVerifiedEmail_month": 42849, "date": "2015-01-01", "worksWithDois_month": 0, "liveIds": 1138902, "employment": 0}, {"funding_month": 0, "works_month": 291597, "works": 6299360, "funding": 0, "idsWithWorks_month": 8382, "employment_month": 0, "education_month": 0, "education": 0, "worksWithDois": 2203546, "liveIds_month": 58220, "uniqueDois": 0, "idsWithVerifiedEmail": 780849, "idsWithWorks": 216364, "uniqueDois_month": 0, "idsWithVerifiedEmail_month": 37433, "date": "2015-02-01", "worksWithDois_month": 0, "liveIds": 1197122, "employment": 0}, {"funding_month": 0, "works_month": 290257, "works": 6589617, "funding": 0, "idsWithWorks_month": 8596, "employment_month": 0, "education_month": 0, "education": 0, "worksWithDois": 2195266, "liveIds_month": 54261, "uniqueDois": 0, "idsWithVerifiedEmail": 818415, "idsWithWorks": 224960, "uniqueDois_month": 0, "idsWithVerifiedEmail_month": 37566, "date": "2015-03-01", "worksWithDois_month": 0, "liveIds": 1251383, "employment": 0}, {"funding_month": 0, "works_month": 265084, "works": 6854701, "funding": 0, "idsWithWorks_month": 8269, "employment_month": 0, "education_month": 0, "education": 0, "worksWithDois": 2187633, "liveIds_month": 51733, "uniqueDois": 0, "idsWithVerifiedEmail": 852104, "idsWithWorks": 233229, "uniqueDois_month": 0, "idsWithVerifiedEmail_month": 33689, "date": "2015-04-01", "worksWithDois_month": 0, "liveIds": 1303116, "employment": 0}, {"funding_month": 0, "works_month": 379431, "works": 7234132, "funding": 0, "idsWithWorks_month": 10571, "employment_month": 0, "education_month": 0, "education": 0, "worksWithDois": 2181776, "liveIds_month": 67079, "uniqueDois": 0, "idsWithVerifiedEmail": 895075, "idsWithWorks": 243800, "uniqueDois_month": 0, "idsWithVerifiedEmail_month": 42971, "date": "2015-05-01", "worksWithDois_month": 0, "liveIds": 1370195, "employment": 0}, {"funding_month": 0, "works_month": 312435, "works": 7546567, "funding": 0, "idsWithWorks_month": 8092, "employment_month": 0, "education_month": 0, "education": 0, "worksWithDois": 2172058, "liveIds_month": 53691, "uniqueDois": 0, "idsWithVerifiedEmail": 929780, "idsWithWorks": 251892, "uniqueDois_month": 0, "idsWithVerifiedEmail_month": 34705, "date": "2015-06-01", "worksWithDois_month": 0, "liveIds": 1423886, "employment": 0}, {"funding_month": 0, "works_month": 447418, "works": 7993985, "funding": 0, "idsWithWorks_month": 11107, "employment_month": 0, "education_month": 0, "education": 0, "worksWithDois": 2166065, "liveIds_month": 58642, "uniqueDois": 3957115, "idsWithVerifiedEmail": 969299, "idsWithWorks": 262999, "uniqueDois_month": 3957115, "idsWithVerifiedEmail_month": 39519, "date": "2015-07-01", "worksWithDois_month": 0, "liveIds": 1482528, "employment": 0}, {"funding_month": 0, "works_month": 389839, "works": 8383824, "funding": 0, "idsWithWorks_month": 10542, "employment_month": 0, "education_month": 0, "education": 0, "worksWithDois": 0, "liveIds_month": 75812, "uniqueDois": 4119619, "idsWithVerifiedEmail": 1016171, "idsWithWorks": 273541, "uniqueDois_month": 162504, "idsWithVerifiedEmail_month": 46872, "date": "2015-08-01", "worksWithDois_month": 0, "liveIds": 1558340, "employment": 0}, {"funding_month": 0, "works_month": 493034, "works": 8876858, "funding": 0, "idsWithWorks_month": 11704, "employment_month": 0, "education_month": 0, "education": 0, "worksWithDois": 0, "liveIds_month": 74341, "uniqueDois": 4311770, "idsWithVerifiedEmail": 1065938, "idsWithWorks": 285245, "uniqueDois_month": 192151, "idsWithVerifiedEmail_month": 49767, "date": "2015-09-01", "worksWithDois_month": 0, "liveIds": 1632681, "employment": 0}, {"funding_month": 116934, "works_month": 915374, "works": 9792232, "funding": 116934, "idsWithWorks_month": 21698, "employment_month": 567721, "education_month": 656846, "education": 656846, "worksWithDois": 0, "liveIds_month": 92738, "uniqueDois": 4632129, "idsWithVerifiedEmail": 1135253, "idsWithWorks": 306943, "uniqueDois_month": 320359, "idsWithVerifiedEmail_month": 69315, "date": "2015-10-01", "worksWithDois_month": 0, "liveIds": 1725419, "employment": 567721}, {"funding_month": 6751, "works_month": 591323, "works": 10383555, "funding": 123685, "idsWithWorks_month": 15807, "employment_month": 28796, "education_month": 34900, "education": 691746, "worksWithDois": 0, "liveIds_month": 64402, "uniqueDois": 4836647, "idsWithVerifiedEmail": 1180393, "idsWithWorks": 322750, "uniqueDois_month": 204518, "idsWithVerifiedEmail_month": 45140, "date": "2015-11-01", "worksWithDois_month": 0, "liveIds": 1789821, "employment": 596517}, {"funding_month": 5607, "works_month": 388738, "works": 10772293, "funding": 129292, "idsWithWorks_month": 10535, "employment_month": 24153, "education_month": 29520, "education": 721266, "worksWithDois": 0, "liveIds_month": 56694, "uniqueDois": 4980194, "idsWithVerifiedEmail": 1217266, "idsWithWorks": 333285, "uniqueDois_month": 143547, "idsWithVerifiedEmail_month": 36873, "date": "2015-12-01", "worksWithDois_month": 0, "liveIds": 1846515, "employment": 620670}, {"funding_month": 10179, "works_month": 764756, "works": 11537049, "funding": 139471, "idsWithWorks_month": 40918, "employment_month": 41628, "education_month": 49363, "education": 770629, "worksWithDois": 0, "liveIds_month": 79329, "uniqueDois": 5315674, "idsWithVerifiedEmail": 1270620, "idsWithWorks": 374203, "uniqueDois_month": 335480, "idsWithVerifiedEmail_month": 53354, "date": "2016-01-01", "worksWithDois_month": 0, "liveIds": 1925844, "employment": 662298}, {"funding_month": 8547, "works_month": 494313, "works": 12031362, "funding": 148018, "idsWithWorks_month": 17323, "employment_month": 33959, "education_month": 42142, "education": 812771, "worksWithDois": 0, "liveIds_month": 68426, "uniqueDois": 5500489, "idsWithVerifiedEmail": 1315691, "idsWithWorks": 391526, "uniqueDois_month": 184815, "idsWithVerifiedEmail_month": 45071, "date": "2016-02-01", "worksWithDois_month": 0, "liveIds": 1994270, "employment": 696257}, {"funding_month": 9219, "works_month": 469643, "works": 12501005, "funding": 157237, "idsWithWorks_month": 20683, "employment_month": 37095, "education_month": 46333, "education": 859104, "worksWithDois": 0, "liveIds_month": 84184, "uniqueDois": 5701582, "idsWithVerifiedEmail": 1371922, "idsWithWorks": 412209, "uniqueDois_month": 201093, "idsWithVerifiedEmail_month": 56231, "date": "2016-03-01", "worksWithDois_month": 0, "liveIds": 2078454, "employment": 733352}, {"funding_month": 9839, "works_month": 646803, "works": 13147808, "funding": 167076, "idsWithWorks_month": 27433, "employment_month": 42838, "education_month": 54988, "education": 914092, "worksWithDois": 0, "liveIds_month": 106543, "uniqueDois": 5951458, "idsWithVerifiedEmail": 1442773, "idsWithWorks": 439642, "uniqueDois_month": 249876, "idsWithVerifiedEmail_month": 70851, "date": "2016-04-01", "worksWithDois_month": 0, "liveIds": 2184997, "employment": 776190}, {"funding_month": 6610, "works_month": 448132, "works": 13595940, "funding": 173686, "idsWithWorks_month": 17771, "employment_month": 30351, "education_month": 38326, "education": 952418, "worksWithDois": 0, "liveIds_month": 75399, "uniqueDois": 6127308, "idsWithVerifiedEmail": 1491598, "idsWithWorks": 457413, "uniqueDois_month": 175850, "idsWithVerifiedEmail_month": 48825, "date": "2016-05-01", "worksWithDois_month": 0, "liveIds": 2260396, "employment": 806541}, {"funding_month": 6395, "works_month": 524113, "works": 14120053, "funding": 180081, "idsWithWorks_month": 18083, "employment_month": 31619, "education_month": 40292, "education": 992710, "worksWithDois": 0, "liveIds_month": 74870, "uniqueDois": 6337829, "idsWithVerifiedEmail": 1539700, "idsWithWorks": 475496, "uniqueDois_month": 210521, "idsWithVerifiedEmail_month": 48102, "date": "2016-06-01", "worksWithDois_month": 0, "liveIds": 2335266, "employment": 838160}, {"funding_month": 10021, "works_month": 708388, "works": 14828441, "funding": 190102, "idsWithWorks_month": 24062, "employment_month": 42762, "education_month": 53770, "education": 1046480, "worksWithDois": 0, "liveIds_month": 98168, "uniqueDois": 6584886, "idsWithVerifiedEmail": 1604352, "idsWithWorks": 499558, "uniqueDois_month": 247057, "idsWithVerifiedEmail_month": 64652, "date": "2016-07-01", "worksWithDois_month": 0, "liveIds": 2433434, "employment": 880922}, {"funding_month": 7257, "works_month": 445822, "works": 15274263, "funding": 197359, "idsWithWorks_month": 14705, "employment_month": 31661, "education_month": 42117, "education": 1088597, "worksWithDois": 0, "liveIds_month": 72099, "uniqueDois": 6753496, "idsWithVerifiedEmail": 1652775, "idsWithWorks": 514263, "uniqueDois_month": 168610, "idsWithVerifiedEmail_month": 48423, "date": "2016-08-01", "worksWithDois_month": 0, "liveIds": 2505533, "employment": 912583}, {"funding_month": 8485, "works_month": 542262, "works": 15816525, "funding": 205844, "idsWithWorks_month": 17856, "employment_month": 36416, "education_month": 47392, "education": 1135989, "worksWithDois": 0, "liveIds_month": 82138, "uniqueDois": 6978463, "idsWithVerifiedEmail": 1706797, "idsWithWorks": 532119, "uniqueDois_month": 224967, "idsWithVerifiedEmail_month": 54022, "date": "2016-09-01", "worksWithDois_month": 0, "liveIds": 2587671, "employment": 948999}, {"funding_month": 11833, "works_month": 691213, "works": 16507738, "funding": 217677, "idsWithWorks_month": 22585, "employment_month": 51085, "education_month": 66251, "education": 1202240, "worksWithDois": 0, "liveIds_month": 110096, "uniqueDois": 7246261, "idsWithVerifiedEmail": 1782629, "idsWithWorks": 554704, "uniqueDois_month": 267798, "idsWithVerifiedEmail_month": 75832, "date": "2016-10-01", "worksWithDois_month": 0, "liveIds": 2697767, "employment": 1000084}, {"funding_month": 10265, "works_month": 541503, "works": 17049241, "funding": 227942, "idsWithWorks_month": 18503, "employment_month": 39117, "education_month": 49362, "education": 1251602, "worksWithDois": 0, "liveIds_month": 87191, "uniqueDois": 7455206, "idsWithVerifiedEmail": 1838773, "idsWithWorks": 573207, "uniqueDois_month": 208945, "idsWithVerifiedEmail_month": 56144, "date": "2016-11-01", "worksWithDois_month": 0, "liveIds": 2784958, "employment": 1039201}, {"funding_month": 8882, "works_month": 563255, "works": 17612496, "funding": 236824, "idsWithWorks_month": 19252, "employment_month": 39288, "education_month": 50556, "education": 1302158, "worksWithDois": 0, "liveIds_month": 94694, "uniqueDois": 7673562, "idsWithVerifiedEmail": 1898505, "idsWithWorks": 592459, "uniqueDois_month": 218356, "idsWithVerifiedEmail_month": 59732, "date": "2016-12-01", "worksWithDois_month": 0, "liveIds": 2879652, "employment": 1078489}, {"funding_month": 12295, "works_month": 807873, "works": 18420369, "funding": 249119, "idsWithWorks_month": 27772, "employment_month": 55586, "education_month": 69266, "education": 1371424, "worksWithDois": 0, "liveIds_month": 126718, "uniqueDois": 7979245, "idsWithVerifiedEmail": 1979255, "idsWithWorks": 620231, "uniqueDois_month": 305683, "idsWithVerifiedEmail_month": 80750, "date": "2017-01-01", "worksWithDois_month": 0, "liveIds": 3006370, "employment": 1134075}, {"funding_month": 3990, "works_month": 265144, "works": 18685513, "funding": 253109, "idsWithWorks_month": 8565, "employment_month": 16629, "education_month": 21906, "education": 1393330, "worksWithDois": 0, "liveIds_month": 38749, "uniqueDois": 8086230, "idsWithVerifiedEmail": 2000232, "idsWithWorks": 628796, "uniqueDois_month": 106985, "idsWithVerifiedEmail_month": 20977, "date": "2017-02-01", "worksWithDois_month": 0, "liveIds": 3045119, "employment": 1150704}] -------------------------------------------------------------------------------- /thor/modules/api/urls.py: -------------------------------------------------------------------------------- 1 | # 2 | # This file is part of the THOR Dashboard Project. 3 | # Copyright (C) 2016 CERN. 4 | # 5 | # The THOR dashboard is free software; you can redistribute it 6 | # and/or modify it under the terms of the GNU General Public License as 7 | # published by the Free Software Foundation; either version 2 of the 8 | # License, or (at your option) any later version. 9 | # 10 | # HEPData is distributed in the hope that it will be 11 | # useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | # General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with the THOR dashboard; if not, write to the 17 | # Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 18 | # MA 02111-1307, USA. 19 | # 20 | # In applying this license, CERN does not 21 | # waive the privileges and immunities granted to it by virtue of its status 22 | # as an Intergovernmental Organization or submit itself to any jurisdiction. 23 | 24 | from django.conf.urls import patterns, url 25 | 26 | urlpatterns = patterns('thor.modules.api', 27 | # Examples: 28 | url(r'^data', 'views.get_data', name='home'), 29 | url(r'^events', 'views.get_events', name='events') 30 | 31 | 32 | ) 33 | -------------------------------------------------------------------------------- /thor/modules/api/views.py: -------------------------------------------------------------------------------- 1 | # 2 | # This file is part of the THOR Dashboard Project. 3 | # Copyright (C) 2016 CERN. 4 | # 5 | # The THOR dashboard is free software; you can redistribute it 6 | # and/or modify it under the terms of the GNU General Public License as 7 | # published by the Free Software Foundation; either version 2 of the 8 | # License, or (at your option) any later version. 9 | # 10 | # HEPData is distributed in the hope that it will be 11 | # useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | # General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with the THOR dashboard; if not, write to the 17 | # Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 18 | # MA 02111-1307, USA. 19 | # 20 | # In applying this license, CERN does not 21 | # waive the privileges and immunities granted to it by virtue of its status 22 | # as an Intergovernmental Organization or submit itself to any jurisdiction. 23 | 24 | import json 25 | import os 26 | from django.http import HttpResponse 27 | from thor.modules.dashboard.models import Event 28 | 29 | __author__ = 'eamonnmaguire' 30 | 31 | 32 | def get_data(request): 33 | """ 34 | Returns a flatted JSON dump of the citation information 35 | :param request: 36 | :return: 37 | """ 38 | type = request.GET.get('type', 'orcid') 39 | base_dir = os.path.dirname(os.path.realpath(__file__)) 40 | 41 | if type == 'aggregate': 42 | orcid = json.load(open(base_dir + '/data/data_orcid.json', 'r')) 43 | doi = json.load(open(base_dir + '/data/data_doi.json', 'r')) 44 | crossref = json.load(open(base_dir + '/data/data_crossref.json', 'r')) 45 | 46 | aggregated = {} 47 | 48 | for orcid_item in orcid: 49 | aggregated[orcid_item['date']] = {'date': orcid_item['date']} 50 | aggregated[orcid_item['date']]['orcids'] = orcid_item['liveIds'] 51 | aggregated[orcid_item['date']]['month_orcids'] = orcid_item[ 52 | 'liveIds_month'] 53 | aggregated[orcid_item['date']]['crossrefs'] = 0 54 | 55 | for doi_item in doi: 56 | if doi_item['date'] not in aggregated: 57 | aggregated[doi_item['date']] = {'date': doi_item['date']} 58 | aggregated[doi_item['date']]['orcids'] = 0 59 | aggregated[doi_item['date']]['month_orcids'] = 0 60 | 61 | if 'dois' not in aggregated[doi_item['date']]: 62 | aggregated[doi_item['date']]['dois'] = 0 63 | 64 | aggregated[doi_item['date']]['dois'] += doi_item['data_value'] 65 | aggregated[doi_item['date']]['crossrefs'] = 0 66 | 67 | for cr_item in crossref['crossrefs_by_month']: 68 | if cr_item['date'] not in aggregated: 69 | aggregated[cr_item['date']] = {'date': cr_item['date']} 70 | aggregated[cr_item['date']]['dois'] = 0 71 | aggregated[cr_item['date']]['orcids'] = 0 72 | aggregated[cr_item['date']]['month_orcids'] = 0 73 | 74 | aggregated[cr_item['date']]['crossrefs'] = cr_item['total_items'] 75 | 76 | json_contents = aggregated.values() 77 | 78 | events = Event.objects.all() 79 | event_json = [] 80 | for event in events: 81 | event_json.append(event.to_dict()) 82 | 83 | contents = {"type": type, "data": json_contents, "events": event_json} 84 | else: 85 | json_contents = json.load( 86 | open(base_dir + '/data/data_' + type + '.json', 'r')) 87 | 88 | contents = {"type": type, "data": json_contents} 89 | 90 | return HttpResponse(json.dumps(contents), content_type="application/json") 91 | 92 | 93 | def get_events(request): 94 | """ 95 | Returns all the events in a particular year 96 | :param request: 97 | :return: 98 | """ 99 | 100 | type = request.GET.get('type', 'event_calendar') 101 | year = request.GET.get('year', None) 102 | 103 | if type == 'event_calendar': 104 | 105 | if year: 106 | year = int(year) 107 | events = Event.objects.filter(start_date__year=year).order_by( 108 | "-start_date") 109 | else: 110 | events = Event.objects.all().order_by("-start_date") 111 | json_contents = [] 112 | for event in events: 113 | json_contents.append(event.to_dict()) 114 | 115 | elif type == 'event': 116 | id = request.GET.get('id', 0) 117 | event = Event.objects.get(id=id) 118 | if event: 119 | json_contents = event.to_dict() 120 | else: 121 | json_contents = {} 122 | 123 | contents = {"type": type, "data": json_contents} 124 | 125 | return HttpResponse(json.dumps(contents), content_type="application/json") 126 | -------------------------------------------------------------------------------- /thor/modules/dashboard/__init__.py: -------------------------------------------------------------------------------- 1 | # 2 | # This file is part of the THOR Dashboard Project. 3 | # Copyright (C) 2016 CERN. 4 | # 5 | # The THOR dashboard is free software; you can redistribute it 6 | # and/or modify it under the terms of the GNU General Public License as 7 | # published by the Free Software Foundation; either version 2 of the 8 | # License, or (at your option) any later version. 9 | # 10 | # HEPData is distributed in the hope that it will be 11 | # useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | # General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with the THOR dashboard; if not, write to the 17 | # Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 18 | # MA 02111-1307, USA. 19 | # 20 | # In applying this license, CERN does not 21 | # waive the privileges and immunities granted to it by virtue of its status 22 | # as an Intergovernmental Organization or submit itself to any jurisdiction. 23 | -------------------------------------------------------------------------------- /thor/modules/dashboard/admin.py: -------------------------------------------------------------------------------- 1 | # 2 | # This file is part of the THOR Dashboard Project. 3 | # Copyright (C) 2016 CERN. 4 | # 5 | # The THOR dashboard is free software; you can redistribute it 6 | # and/or modify it under the terms of the GNU General Public License as 7 | # published by the Free Software Foundation; either version 2 of the 8 | # License, or (at your option) any later version. 9 | # 10 | # HEPData is distributed in the hope that it will be 11 | # useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | # General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with the THOR dashboard; if not, write to the 17 | # Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 18 | # MA 02111-1307, USA. 19 | # 20 | # In applying this license, CERN does not 21 | # waive the privileges and immunities granted to it by virtue of its status 22 | # as an Intergovernmental Organization or submit itself to any jurisdiction. 23 | 24 | from django.contrib import admin 25 | 26 | # Register your models here. 27 | from thor.modules.dashboard.models import Event, ParticipantType, Country, EventType, Tutor 28 | 29 | admin.site.register(Event) 30 | admin.site.register(EventType) 31 | admin.site.register(ParticipantType) 32 | admin.site.register(Country) 33 | admin.site.register(Tutor) 34 | -------------------------------------------------------------------------------- /thor/modules/dashboard/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thor-project/dashboard/43a9501c141a611a9bb1f4e7f532fddaf8664dca/thor/modules/dashboard/migrations/__init__.py -------------------------------------------------------------------------------- /thor/modules/dashboard/models.py: -------------------------------------------------------------------------------- 1 | # 2 | # This file is part of the THOR Dashboard Project. 3 | # Copyright (C) 2016 CERN. 4 | # 5 | # The THOR dashboard is free software; you can redistribute it 6 | # and/or modify it under the terms of the GNU General Public License as 7 | # published by the Free Software Foundation; either version 2 of the 8 | # License, or (at your option) any later version. 9 | # 10 | # HEPData is distributed in the hope that it will be 11 | # useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | # General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with the THOR dashboard; if not, write to the 17 | # Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 18 | # MA 02111-1307, USA. 19 | # 20 | # In applying this license, CERN does not 21 | # waive the privileges and immunities granted to it by virtue of its status 22 | # as an Intergovernmental Organization or submit itself to any jurisdiction. 23 | 24 | from django.db import models 25 | 26 | class Tutor(models.Model): 27 | verbose_name_plural = "Tutors" 28 | name = models.CharField(max_length=256) 29 | 30 | def __str__(self): 31 | return self.name 32 | 33 | 34 | class EventType(models.Model): 35 | verbose_name_plural = "Event Types" 36 | name = models.CharField(max_length=256) 37 | 38 | def __str__(self): 39 | return self.name 40 | 41 | 42 | class Country(models.Model): 43 | verbose_name_plural = "Countries" 44 | 45 | name = models.CharField(max_length=256) 46 | 47 | def __str__(self): 48 | return self.name 49 | 50 | 51 | class ParticipantType(models.Model): 52 | verbose_name_plural = "Participant Types" 53 | 54 | type_choices = ( 55 | ('S', 'Senior Academics'), 56 | ('PD', 'Post Docs'), 57 | ('G', 'Grad Students'), 58 | ('UG', 'Undergrads'), 59 | ('P', 'Public'), 60 | ('U', 'Unknown'), 61 | ) 62 | type = models.CharField(max_length=32, choices=type_choices) 63 | 64 | def __str__(self): 65 | type = '' 66 | for item in self.type_choices: 67 | if item[0] == self.type: 68 | type = item[1] 69 | return "{0}".format(type) 70 | 71 | 72 | class Event(models.Model): 73 | verbose_name_plural = "Events" 74 | 75 | name = models.CharField(max_length=256) 76 | description = models.TextField(blank=True) 77 | start_date = models.DateField(blank=False) 78 | end_date = models.DateField(blank=False) 79 | type = models.ForeignKey(EventType, blank=False) 80 | 81 | country = models.ForeignKey(Country, null=True, blank=True) 82 | participant_type = models.ManyToManyField(ParticipantType) 83 | participant_count = models.IntegerField(default=0) 84 | 85 | event_url = models.URLField(blank=True, null=True) 86 | 87 | tutors = models.ManyToManyField(Tutor) 88 | 89 | def __str__(self): 90 | return "{0}-{1} {2} ({3})".format(self.start_date, self.end_date, self.name, self.country) 91 | 92 | def to_dict(self): 93 | _dict = {'id': self.id, 'name': self.name, 'description': self.description, 'date': self.start_date.__str__(), 94 | 'type': self.type.name, 'country': self.country.name, 'participant_count': self.participant_count, 95 | 'event_url': self.event_url, 'tutors':[], 'participant_type': []} 96 | 97 | for participant in self.participant_type.all(): 98 | _dict['participant_type'].append(participant.__str__()) 99 | 100 | for tutor in self.tutors.all(): 101 | _dict['tutors'].append(tutor.name) 102 | 103 | return _dict 104 | -------------------------------------------------------------------------------- /thor/modules/dashboard/static/assets/css/thor_style.css: -------------------------------------------------------------------------------- 1 | html { 2 | height: 100%; 3 | } 4 | 5 | body { 6 | margin: 0; 7 | color: #2C3E50; 8 | height: 100%; 9 | font-family: 'Lato', sans-serif; 10 | } 11 | 12 | a { 13 | color: #35495E; 14 | font-weight: normal; 15 | } 16 | 17 | .home-bg { 18 | background: #26B99A; 19 | width: 100%; 20 | height: 100%; 21 | color: white; 22 | } 23 | 24 | .top-bar { 25 | background-color: transparent; 26 | height: 65px; 27 | color: #fff; 28 | width: 100%; 29 | } 30 | 31 | .content { 32 | width: 100%; 33 | margin: 0 auto; 34 | } 35 | 36 | .login { 37 | margin-right: 10px; 38 | font-size: 1.1em; 39 | font-weight: bolder; 40 | text-transform: lowercase; 41 | margin-top: 1.3em; 42 | color: white; 43 | } 44 | 45 | .login .username { 46 | color: #35495E; 47 | } 48 | 49 | .top-search-form { 50 | margin-left: 50px; 51 | margin-top: 1.2em; 52 | } 53 | 54 | .main-search-form .submit { 55 | font-size: 1em; 56 | padding: 6px 15px; 57 | margin-left: -5px; 58 | } 59 | 60 | .account-container { 61 | width: 500px; 62 | margin: 0 auto; 63 | margin-top: 4em; 64 | background-color: #14A085; 65 | padding: 40px; 66 | color: white; 67 | border-radius: 6px; 68 | } 69 | 70 | .thor-login-text, .change_password input { 71 | background-color: #26B99A; 72 | padding: 11px; 73 | color: #35495E; 74 | border-radius: 4px; 75 | border: none; 76 | width: 200px; 77 | 78 | } 79 | 80 | input:-webkit-autofill, .thor-login-text, .change_password input { 81 | background-color: #26B99A; 82 | padding: 11px; 83 | color: #35495E; 84 | border-radius: 4px; 85 | border: none; 86 | width: 200px; 87 | 88 | } 89 | 90 | .username-text { 91 | background-image: url('../img/icon_user.svg'); 92 | background-position: 5%; 93 | background-repeat: no-repeat; 94 | padding-left: 35px; 95 | font-weight: normal; 96 | } 97 | 98 | .password-text { 99 | background-image: url('../img/icon_lock.svg'); 100 | background-repeat: no-repeat; 101 | background-position: 5%; 102 | padding-left: 35px; 103 | font-weight: normal; 104 | } 105 | 106 | .email-text { 107 | background-image: url('../img/icon_email.svg'); 108 | background-repeat: no-repeat; 109 | background-position: 5%; 110 | padding-left: 35px; 111 | font-weight: normal; 112 | } 113 | 114 | .thor-login-text::-webkit-input-placeholder { 115 | color: #14A085; 116 | font-weight: bolder; 117 | font-size: 1.1em; 118 | } 119 | 120 | .thor-login-text:-moz-placeholder { 121 | /* Firefox 18- */ 122 | color: #14A085; 123 | font-weight: bolder; 124 | 125 | } 126 | 127 | .thor-login-text::-moz-placeholder { 128 | /* Firefox 19+ */ 129 | color: #35495E; 130 | font-weight: bolder; 131 | } 132 | 133 | .thor-login-text:-ms-input-placeholder { 134 | color: #35495E; 135 | font-weight: bolder; 136 | } 137 | 138 | .mui-btn-default { 139 | background-color: #35495E; 140 | border-color: #35495E; 141 | color: white; 142 | 143 | -webkit-transition: color 1s; /* Safari */ 144 | transition: color 1s; 145 | 146 | } 147 | 148 | .mui-btn-default:hover, .mui-btn-default:active { 149 | background-color: #223447; 150 | border-color: #223447; 151 | color: #14A085; 152 | } 153 | 154 | /*flexbox stuff*/ 155 | 156 | .flex-container { 157 | display: flex; 158 | flex-flow: row nowrap; 159 | justify-content: flex-start; 160 | align-content: flex-start; 161 | align-items: flex-start; 162 | height: 100%; 163 | width: 100%; 164 | 165 | } 166 | 167 | #dashboard-menu { 168 | order: 1; 169 | flex: 0 1 auto; 170 | align-self: stretch; 171 | position: fixed; 172 | height: 100%; 173 | z-index: 99; 174 | pointer-events: all; 175 | background-color: #2C3E50; 176 | } 177 | 178 | #dashboard-menu a { 179 | color: white; 180 | } 181 | 182 | #dashboard-content { 183 | order: 2; 184 | flex: 0 1 auto; 185 | align-self: stretch; 186 | position: absolute; 187 | left: 100px; 188 | } 189 | 190 | .visualization-container { 191 | padding: 15px; 192 | } 193 | 194 | .visualization-panel { 195 | color: white; 196 | padding: 10px; 197 | padding-left: 18px; 198 | background-color: #2C3E50; 199 | height: 280px; 200 | 201 | } 202 | 203 | .raw-link { 204 | color: white; 205 | font-size: .6em; 206 | text-decoration: underline; 207 | } 208 | 209 | .visualization-panel h4 { 210 | color: #14A085; 211 | font-size: 1.4em; 212 | font-weight: normal; 213 | text-transform: lowercase; 214 | } 215 | 216 | .color-white { 217 | color: white; 218 | } 219 | 220 | .uppercase { 221 | text-transform: uppercase; 222 | } 223 | 224 | .bold-text { 225 | font-weight: bolder; 226 | } 227 | 228 | /*menu*/ 229 | 230 | .menu { 231 | list-style: none; 232 | -webkit-padding-start: 0px; 233 | color: white; 234 | font-size: 1.5em; 235 | padding: 0; 236 | padding-top: 1em; 237 | } 238 | 239 | .menu li { 240 | padding: 10px; 241 | padding-left: 21px; 242 | cursor: pointer; 243 | 244 | -webkit-transition: background-color 0.5s; /* Safari */ 245 | transition: background-color 0.5s; 246 | } 247 | 248 | .menu a { 249 | color: white; 250 | } 251 | 252 | .menu li.active { 253 | background-color: #14A085; 254 | color: white; 255 | } 256 | 257 | .menu li:hover { 258 | background-color: #35495E; 259 | } 260 | 261 | .sidebar-footer { 262 | text-align: center; 263 | position: fixed; 264 | bottom: 10px; 265 | left: -30px; 266 | 267 | } 268 | 269 | /*crossfilter stuff*/ 270 | 271 | .chart { 272 | display: inline-block; 273 | margin-bottom: 20px; 274 | width: 100%; 275 | overflow-x: auto; 276 | } 277 | 278 | .reset { 279 | padding-left: 1em; 280 | font-size: smaller; 281 | color: #ccc; 282 | } 283 | 284 | .background.bar { 285 | fill: white; 286 | } 287 | 288 | .foreground.bar { 289 | fill: #14A085; 290 | } 291 | 292 | .axis path, .axis line { 293 | fill: none; 294 | stroke: #35495E !important; 295 | stroke-width: 2; 296 | shape-rendering: crispEdges; 297 | } 298 | 299 | .axis text { 300 | font-size: 10px; 301 | fill: white; 302 | } 303 | 304 | .brush rect.extent { 305 | fill: white; 306 | fill-opacity: .125; 307 | } 308 | 309 | .brush .resize path { 310 | fill: #eee; 311 | stroke: #666; 312 | } 313 | 314 | #record-list { 315 | height: 80%; 316 | overflow-y: scroll; 317 | } 318 | 319 | #record-list .date, 320 | #record-list .day { 321 | margin-bottom: .4em; 322 | } 323 | 324 | #record-list .flight { 325 | line-height: 1.5em; 326 | background: #eee; 327 | width: 640px; 328 | margin-bottom: 1px; 329 | } 330 | 331 | #record-list .time { 332 | color: #999; 333 | } 334 | 335 | #record-list .record { 336 | padding: 5px; 337 | padding-left: 20px; 338 | background-color: #35495E; 339 | margin: 3px; 340 | } 341 | 342 | #record-list .record div { 343 | border-left: 1px solid #2C3E50; 344 | display: inline-block; 345 | width: 100px; 346 | 347 | } 348 | 349 | #record-list div.distance, 350 | #record-list div.delay { 351 | width: 260px; 352 | padding-right: 10px; 353 | text-align: right; 354 | } 355 | 356 | #record-list .early { 357 | color: green; 358 | } 359 | 360 | .pie-slice text { 361 | fill: white; 362 | } 363 | 364 | .dc-legend-item text { 365 | fill: white; 366 | } 367 | 368 | .dc-chart .axis text { 369 | font: 8px sans-serif; 370 | } 371 | 372 | .dc-chart .selected path { 373 | stroke-width: 1; 374 | stroke: white; 375 | fill-opacity: 1; 376 | } 377 | 378 | .grid-line line { 379 | fill: none; 380 | stroke: #35495E !important; 381 | stroke-width: 2; 382 | opacity: 1 !important; 383 | shape-rendering: crispEdges; 384 | } 385 | 386 | .dc-chart g.row text { 387 | font-size: 11px; 388 | } 389 | 390 | .dc-table-row { 391 | background-color: transparent; 392 | border: 1px solid #ecf0f1; 393 | } 394 | 395 | .day { 396 | fill: white; 397 | stroke: #bdc3c7; 398 | } 399 | 400 | .month { 401 | fill: none; 402 | stroke: #2c3e50; 403 | stroke-width: 2px; 404 | } 405 | 406 | .chip { 407 | display: inline-block; 408 | height: 32px; 409 | font-size: 13px; 410 | font-weight: 500; 411 | color: rgba(0, 0, 0, 0.6); 412 | line-height: 32px; 413 | padding: 0 12px; 414 | border-radius: 16px; 415 | background-color: #e4e4e4; 416 | } 417 | 418 | tr.hover { 419 | background-color: #ecf0f1; 420 | } 421 | 422 | .d3-tip { 423 | line-height: 1; 424 | font-weight: normal; 425 | font-size: 1em; 426 | padding: 12px; 427 | background-color: #35495e; 428 | color: #fff; 429 | border-radius: 2px; 430 | } 431 | 432 | /* Style northward tooltips differently */ 433 | .d3-tip.n:after { 434 | margin: -1px 0 0 0; 435 | top: 100%; 436 | left: 0; 437 | } 438 | 439 | @media (max-width: 1000px) { 440 | .expansion-sm { 441 | margin-top: 20px; 442 | } 443 | } 444 | 445 | @media (max-width: 500px) { 446 | #dashboard-content { 447 | left: 11%; 448 | } 449 | } 450 | 451 | @media (max-width: 700px) { 452 | #dashboard-content { 453 | left: 15%; 454 | } 455 | } 456 | 457 | @media (min-width: 800px) { 458 | #dashboard-content { 459 | left: 15%; 460 | } 461 | } 462 | 463 | @media (min-width: 1000px) { 464 | #dashboard-content { 465 | left: 9%; 466 | } 467 | } 468 | 469 | #table-button { 470 | position: fixed; 471 | width: 100%; 472 | text-align: center; 473 | bottom: 8px; 474 | } 475 | 476 | #table-button .button-container { 477 | border-top: 3px solid #2c3e50; 478 | border-left: 3px solid #2c3e50; 479 | border-right: 3px solid #2c3e50; 480 | background-color: #14A085; 481 | border-radius: 3px 3px 0 0; 482 | padding: 10px; 483 | cursor: pointer; 484 | } 485 | 486 | #table-button .button-container:hover { 487 | color: #2c3e50; 488 | background-color: #26B99A; 489 | } 490 | 491 | #table-view { 492 | z-index: 9999; 493 | position: fixed; 494 | bottom: -330px; 495 | width: 100%; 496 | left: 0; 497 | } 498 | 499 | #table-view .visualization-panel { 500 | background-color: white; 501 | color: #2c3e50; 502 | } 503 | 504 | .table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th { 505 | border: none; 506 | } 507 | 508 | .table > tbody + tbody { 509 | border: none; 510 | } 511 | 512 | 513 | -------------------------------------------------------------------------------- /thor/modules/dashboard/static/assets/img/cern-logo.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 11 | 18 | 25 | 31 | 33 | 42 | 44 | 46 | 51 | 52 | 53 | -------------------------------------------------------------------------------- /thor/modules/dashboard/static/assets/img/icon_email.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | ]> 6 | 10 | 11 | 12 | 18 | 19 | -------------------------------------------------------------------------------- /thor/modules/dashboard/static/assets/img/icon_lock.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | ]> 6 | 10 | 11 | 12 | 21 | 22 | -------------------------------------------------------------------------------- /thor/modules/dashboard/static/assets/img/icon_user.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | ]> 6 | 10 | 11 | 12 | 27 | 28 | -------------------------------------------------------------------------------- /thor/modules/dashboard/static/assets/img/logo-normal.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | ]> 6 | 10 | 11 | 12 | 15 | 18 | 19 | 20 | 23 | 26 | 27 | -------------------------------------------------------------------------------- /thor/modules/dashboard/static/assets/img/logo-original.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 12 | 13 | 14 | 18 | 22 | 23 | 24 | 27 | 31 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /thor/modules/dashboard/static/assets/img/logo-white.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | ]> 6 | 10 | 11 | 12 | 15 | 18 | 19 | 20 | 23 | 26 | 27 | -------------------------------------------------------------------------------- /thor/modules/dashboard/static/assets/img/search_icon.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | ]> 6 | 10 | 11 | 12 | 25 | 26 | -------------------------------------------------------------------------------- /thor/modules/dashboard/templates/base.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {% block title %}THOR Dashboard{% endblock %} 6 | 7 | 8 | 9 | {% block head_additional %} 10 | {% endblock %} 11 | 21 | 22 | 23 | {% block content %} 24 | {% endblock %} 25 | 26 | {% block end_additional %} 27 | {% endblock %} 28 | 29 | 30 | -------------------------------------------------------------------------------- /thor/modules/dashboard/templates/components/general-resources.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /thor/modules/dashboard/templates/components/vis-resources.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /thor/modules/dashboard/templates/crossrefs-dashboard.html: -------------------------------------------------------------------------------- 1 | {% include 'base.html' %} 2 | 3 | {% block head_additional %} 4 | {% include 'components/vis-resources.html' %} 5 | {% include 'components/general-resources.html' %} 6 | 24 | 25 | {% endblock %} 26 | 27 | {% block content %} 28 |
29 | {# sidebar #} 30 |
33 | 36 | 37 | 48 | 49 |
50 | 51 | {# main content #} 52 |
53 |
55 | 56 |
57 |

Crossref Metrics View RAW Data

58 |
59 |
60 | 61 | 62 |
63 | 64 |
65 |
67 |

Overview

68 | 69 |
70 |
71 |
72 |
73 | 74 |
75 | 76 |
77 | 78 | 79 |
80 |
81 |

DOIs With ORCID iDs

82 | 83 |
84 |
85 | 86 |
87 | 88 |
89 | 90 |
91 | 92 | 93 |
94 | 95 | 96 |
97 | {% endblock %} 98 | 99 | {% block end_additional %} 100 | 102 | 111 | {% endblock %} 112 | -------------------------------------------------------------------------------- /thor/modules/dashboard/templates/dashboard.html: -------------------------------------------------------------------------------- 1 | {% include 'base.html' %} 2 | 3 | {% block head_additional %} 4 | {% include 'components/vis-resources.html' %} 5 | {% include 'components/general-resources.html' %} 6 | 7 | 29 | 30 | {% endblock %} 31 | 32 | {% block content %} 33 |
34 | {# sidebar #} 35 |
37 | 39 | 40 | 52 | 53 |
54 | 55 | {# main content #} 56 |
57 | 58 |
59 | 60 |
61 |

OVERVIEW View RAW Data

62 |
63 |
64 | 65 |
66 | 67 |
68 |
69 |

Overview

70 | 71 |
72 |
73 |
74 |
75 |
76 | 77 | 78 | 121 | 122 | 123 |
124 | {% endblock %} 125 | 126 | {% block end_additional %} 127 | 128 | 129 | 135 | {% endblock %} 136 | -------------------------------------------------------------------------------- /thor/modules/dashboard/templates/data-dashboard.html: -------------------------------------------------------------------------------- 1 | {% include 'base.html' %} 2 | 3 | {% block head_additional %} 4 | {% include 'components/vis-resources.html' %} 5 | {% include 'components/general-resources.html' %} 6 | 24 | 25 | {% endblock %} 26 | 27 | {% block content %} 28 |
29 | {# sidebar #} 30 |
33 | 36 | 37 | 48 | 49 |
50 | 51 | {# main content #} 52 |
53 |
55 | 56 |
57 |

Research Object 58 | Identifier Metrics (DataCite) View RAW Data

59 |
60 |
61 | 62 | 63 |
64 | 65 |
66 |
68 |

Overview

69 | 70 |
71 |
72 |
73 |
74 | 75 |
76 | 77 |
78 | 79 |
80 |
82 |

DOIs by Allocator

83 | 84 |
85 |
86 | 87 |
88 |
89 | 90 |
91 |
93 |

DOI Object Type

94 | 95 |
96 |
97 |
98 | 99 |
100 | 101 |
102 |
103 |

DOIs With ORCID iDs

104 | 105 |
106 |
107 | 108 |
109 | 110 |
111 | 112 |
113 | 114 |
115 | 116 | 117 |
118 | 119 |
120 | 122 | View Detailed List 123 | 124 |
125 |
126 |
127 |
128 |
130 |

Detailed Research Object Metrics

131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 |
Data CentreKeyValue
144 |
145 |
146 |
147 |
148 | {% endblock %} 149 | 150 | {% block end_additional %} 151 | 153 | 162 | {% endblock %} 163 | -------------------------------------------------------------------------------- /thor/modules/dashboard/templates/event-dashboard.html: -------------------------------------------------------------------------------- 1 | 2 | {% include 'base.html' %} 3 | 4 | {% block head_additional %} 5 | {% include 'components/vis-resources.html' %} 6 | {% include 'components/general-resources.html' %} 7 | 8 | 40 | 41 | {% endblock %} 42 | 43 | {% block content %} 44 |
45 | {# sidebar #} 46 |
48 | 50 | 51 | 62 | 63 |
64 | 65 | {# main content #} 66 |
67 |
68 | 69 |
70 |

THOR Events 71 | {% if user.is_superuser %} 72 | 73 | Add New Event 74 | 75 | {% endif %} 76 |

77 |
78 |
79 | 80 |
81 | 82 |
83 |
84 |

Events calendar

85 | 86 |
87 |
88 |
89 | 90 |
91 |
92 |
93 |
94 |
95 |
96 | 97 |


98 | 99 |
100 | 101 |
102 |
103 |

Events list

104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | {# will be populated from the javascript call#} 118 | 119 |
DateTypeNameCountryParticipant CountParticipant Type
120 |
121 |
122 |
123 |
124 | {% endblock %} 125 | 126 | {% block end_additional %} 127 | 128 | 135 | {% endblock %} 136 | -------------------------------------------------------------------------------- /thor/modules/dashboard/templates/registration/activate.html: -------------------------------------------------------------------------------- 1 | {% extends "registration/registration_base.html" %} 2 | {% block title %}{% if account %}Activation complete{% else %}Activation problem{% endif %}{% endblock %} 3 | {% block body %} 4 | 5 |
6 |
7 | {% if account %} 8 | 9 |

Thanks, activation complete!

10 |

You may now login using the username and password you set at registration.

11 |

12 | Login 13 | 14 |

15 | 16 | {% else %} 17 |

Oops

18 |

It seems that your activation key is invalid. Please check the url again.

19 | {% endif %} 20 |
21 | 22 | {% endblock %} 23 | 24 | -------------------------------------------------------------------------------- /thor/modules/dashboard/templates/registration/activation_complete.html: -------------------------------------------------------------------------------- 1 | {% extends "registration/registration_base.html" %} 2 | {% block title %}Activation complete{% endblock %} 3 | {% block body %} 4 | 5 | 17 | 18 | 19 | {% endblock %} 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /thor/modules/dashboard/templates/registration/activation_email.txt: -------------------------------------------------------------------------------- 1 | You (or someone pretending to be you) have asked to register an account at 2 | {{ site.name }}. If this wasn't you, please ignore this email 3 | and your address will be removed from our records. 4 | 5 | To activate this account, please click the following link within the next 6 | {{ expiration_days }} days: 7 | 8 | http://{{site.domain}}/accounts/activate/{{ activation_key }} 9 | 10 | Sincerely, 11 | {{ site.name }} Management 12 | -------------------------------------------------------------------------------- /thor/modules/dashboard/templates/registration/activation_email_subject.txt: -------------------------------------------------------------------------------- 1 | Account registration for {{ site.name }} 2 | -------------------------------------------------------------------------------- /thor/modules/dashboard/templates/registration/base.html: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | thor 7 | 8 | 9 | {% include 'components/general-resources.html' %} 10 | 11 | 12 | 13 | 14 |
15 | 16 | {% block content %} 17 | {% endblock %} 18 | 19 |
20 | 21 |
22 | 23 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /thor/modules/dashboard/templates/registration/login.html: -------------------------------------------------------------------------------- 1 | {% extends "registration/base.html" %} 2 | 3 | {% block title %}thor Login{% endblock %} 4 | 5 | {% block content %} 6 | 7 | 8 | 9 | 10 | {% block alert %} 11 | {% endblock %} 12 | 13 | 74 | 75 |
76 |
77 | I need an account 78 |
79 | 80 |
81 | 82 |
83 | 84 | 85 | 86 | {% endblock %} 87 | -------------------------------------------------------------------------------- /thor/modules/dashboard/templates/registration/logout.html: -------------------------------------------------------------------------------- 1 | {% extends "registration/login.html" %} 2 | {% block title %}Logged out{% endblock %} 3 | {% block alert %} 4 | 5 |
6 | 7 |

You have successfully logged out

8 | 9 |
10 | 11 | 12 | {% endblock %} 13 | -------------------------------------------------------------------------------- /thor/modules/dashboard/templates/registration/password_change_done.html: -------------------------------------------------------------------------------- 1 | {% extends "registration/registration_base.html" %} 2 | {% block title %}Password changed{% endblock %} 3 | {% block body %} 4 | 5 | 13 | 14 |
15 |
16 | Your Profile 17 |
18 | 19 | {% endblock %} 20 | 21 | -------------------------------------------------------------------------------- /thor/modules/dashboard/templates/registration/password_change_form.html: -------------------------------------------------------------------------------- 1 | {% extends "registration/registration_base.html" %} 2 | {% block title %}Change password{% endblock %} 3 | {% block body %} 4 | 5 | 26 | 27 |
28 |
29 |

Login

30 |
31 | {% endblock %} 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /thor/modules/dashboard/templates/registration/password_reset_complete.html: -------------------------------------------------------------------------------- 1 | {% extends "registration/registration_base.html" %} 2 | {% block title %}Password reset complete{% endblock %} 3 | {% block body %} 4 | 5 | 13 | 14 |
15 |
16 | Login 17 |
18 | 19 | {% endblock %} 20 | -------------------------------------------------------------------------------- /thor/modules/dashboard/templates/registration/password_reset_confirm.html: -------------------------------------------------------------------------------- 1 | 2 | {% extends "templates/base.html" %} 3 | {% load webdesign %} 4 | 5 | {% block title %}thor | Confirm password reset{% endblock %} 6 | 7 | {% block head_additional %} 8 | 9 | {% endblock %} 10 | 11 | {% block content %} 12 | 13 | 14 | 52 | 53 | {% endblock %} 54 | 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /thor/modules/dashboard/templates/registration/password_reset_done.html: -------------------------------------------------------------------------------- 1 | {% extends "registration/registration_base.html" %} 2 | {% block title %}Password Reset{% endblock %} 3 | {% block body %} 4 | 5 | 20 | 21 | 22 | {% endblock %} 23 | 24 | -------------------------------------------------------------------------------- /thor/modules/dashboard/templates/registration/password_reset_email.html: -------------------------------------------------------------------------------- 1 | Greetings {{ user }}, 2 | 3 | You are receiving this email because you (or someone pretending to be you) 4 | requested that your password be reset on {{ site.name }}. If you do not 5 | wish to reset your password, please ignore this message. 6 | 7 | To reset your password, please click the following link, or copy and paste it 8 | into your web browser: 9 | 10 | {{ protocol }}://{{ domain }}{% url "django.contrib.auth.views.password_reset_confirm" uidb64=uid token=token%} 11 | 12 | Best regards, 13 | {{ site_name }} Management 14 | -------------------------------------------------------------------------------- /thor/modules/dashboard/templates/registration/password_reset_form.html: -------------------------------------------------------------------------------- 1 | {% extends "registration/base.html" %} 2 | 3 | {% block title %}thor | Retrieve Forgotten Password{% endblock %} 4 | 5 | {% block head_additional %} 6 | 7 | {% endblock %} 8 | 9 | {% block content %} 10 | 11 | 51 | 52 |
53 |
54 |

Remember your password after all? Login 55 |

56 | 57 | {% endblock %} 58 | -------------------------------------------------------------------------------- /thor/modules/dashboard/templates/registration/registration_base.html: -------------------------------------------------------------------------------- 1 | {% extends "registration/base.html" %} 2 | 3 | {% block head_additional %} 4 | 5 | {% endblock %} 6 | 7 | {% block content %} 8 | {% block body %} 9 | {% endblock %} 10 | {% endblock %} -------------------------------------------------------------------------------- /thor/modules/dashboard/templates/registration/registration_complete.html: -------------------------------------------------------------------------------- 1 | {% extends "registration/registration_base.html" %} 2 | {% block title %}Activation email sent{% endblock %} 3 | {% block body %} 4 |
5 | 19 | {% endblock %} 20 | 21 | -------------------------------------------------------------------------------- /thor/modules/dashboard/templates/registration/registration_form.html: -------------------------------------------------------------------------------- 1 | {% extends "registration/registration_base.html" %} 2 | 3 | {% block title %}BioSharing | Register{% endblock %} 4 | 5 | {% block head_additional %} 6 | 7 | 25 | {% endblock %} 26 | 27 | {% block content %} 28 | 29 | 122 | 123 |
124 |
125 |

Have an account? 126 |

127 | 128 |
129 | 130 | {% endblock %} 131 | -------------------------------------------------------------------------------- /thor/modules/dashboard/templates/research-identifier-dashboard.html: -------------------------------------------------------------------------------- 1 | 2 | {% include 'base.html' %} 3 | 4 | {% block head_additional %} 5 | {% include 'components/vis-resources.html' %} 6 | {% include 'components/general-resources.html' %} 7 | 13 | 14 | {% endblock %} 15 | 16 | {% block content %} 17 |
18 | {# sidebar #} 19 |
22 | 25 | 26 | 38 | 39 |
40 | 41 | {# main content #} 42 |
43 |
45 | 46 |
47 |

Researcher Metrics 48 | (ORCID iDs) View RAW Data

49 |
50 |
51 | 52 |
53 | 54 |
55 |
56 |

Overview

57 | 58 |
59 |
60 |
61 |
62 | 63 |
64 | 65 |
66 | 67 | 68 |
69 |
70 |

Unique DOIs by Month

71 | 72 |
73 |
74 |
75 |
76 | 77 |
78 |
79 |

Works in ORCID by Month

80 | 81 |
82 |
83 |
84 |
85 | 86 |
87 | 88 |
89 |
90 |
91 |

Live ORCID iDs Over Time

92 | 93 |
94 |
95 |
96 |
97 | 98 |
99 |
100 |

Email Verified ORCID iDs Over Time

101 | 102 |
103 |
104 |
105 |
106 |
107 | 108 |
109 |
110 |
111 |

ORCID iDs with works

112 | 113 |
114 |
115 |
116 |
117 | 118 |
119 |
120 |

ORCID iDs with Employment

121 | 122 |
123 |
124 |
125 |
126 | 127 |
128 |
129 |

ORCID iDs with Funding Information

130 | 131 |
132 |
133 |
134 |
135 |
136 | 137 |
138 | 139 |
140 | 142 | View Detailed List 143 | 144 |
145 | 146 |
147 |
148 |
149 |
151 |

Detailed Researcher Metrics

152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 |
Live ORCID iDsEmail-Verified ORCID iDsUnique DOIsTotal WorksWorks with DOIsORCID iDs with WorksORCID iDs with EmploymentORCID iDs with Funding
169 |
170 |
171 |
172 |
173 | 174 | {% endblock %} 175 | 176 | {% block end_additional %} 177 | 179 | 180 | 188 | {% endblock %} -------------------------------------------------------------------------------- /thor/modules/dashboard/tests.py: -------------------------------------------------------------------------------- 1 | # 2 | # This file is part of the THOR Dashboard Project. 3 | # Copyright (C) 2016 CERN. 4 | # 5 | # The THOR dashboard is free software; you can redistribute it 6 | # and/or modify it under the terms of the GNU General Public License as 7 | # published by the Free Software Foundation; either version 2 of the 8 | # License, or (at your option) any later version. 9 | # 10 | # HEPData is distributed in the hope that it will be 11 | # useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | # General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with the THOR dashboard; if not, write to the 17 | # Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 18 | # MA 02111-1307, USA. 19 | # 20 | # In applying this license, CERN does not 21 | # waive the privileges and immunities granted to it by virtue of its status 22 | # as an Intergovernmental Organization or submit itself to any jurisdiction. 23 | 24 | from django.test import TestCase 25 | 26 | # Create your tests here. 27 | -------------------------------------------------------------------------------- /thor/modules/dashboard/urls.py: -------------------------------------------------------------------------------- 1 | # 2 | # This file is part of the THOR Dashboard Project. 3 | # Copyright (C) 2016 CERN. 4 | # 5 | # The THOR dashboard is free software; you can redistribute it 6 | # and/or modify it under the terms of the GNU General Public License as 7 | # published by the Free Software Foundation; either version 2 of the 8 | # License, or (at your option) any later version. 9 | # 10 | # HEPData is distributed in the hope that it will be 11 | # useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | # General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with the THOR dashboard; if not, write to the 17 | # Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 18 | # MA 02111-1307, USA. 19 | # 20 | # In applying this license, CERN does not 21 | # waive the privileges and immunities granted to it by virtue of its status 22 | # as an Intergovernmental Organization or submit itself to any jurisdiction. 23 | 24 | 25 | __author__ = 'eamonnmaguire' 26 | from django.conf.urls import patterns, url 27 | 28 | urlpatterns = patterns('', 29 | url(r'^$', 'thor.modules.dashboard.views.dashboard', name='overview'), 30 | url(r'^data/', 'thor.modules.dashboard.views.data_dashboard', name='data'), 31 | url(r'^researcher/', 'thor.modules.dashboard.views.researcher_dashboard', name='researcher'), 32 | url(r'^event/', 'thor.modules.dashboard.views.event_dashboard', name='event'), 33 | url(r'^crossrefs/', 'thor.modules.dashboard.views.crossrefs_dashboard', name='crossrefs'), 34 | ) 35 | -------------------------------------------------------------------------------- /thor/modules/dashboard/views.py: -------------------------------------------------------------------------------- 1 | # 2 | # This file is part of the THOR Dashboard Project. 3 | # Copyright (C) 2016 CERN. 4 | # 5 | # The THOR dashboard is free software; you can redistribute it 6 | # and/or modify it under the terms of the GNU General Public License as 7 | # published by the Free Software Foundation; either version 2 of the 8 | # License, or (at your option) any later version. 9 | # 10 | # HEPData is distributed in the hope that it will be 11 | # useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | # General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with the THOR dashboard; if not, write to the 17 | # Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 18 | # MA 02111-1307, USA. 19 | # 20 | # In applying this license, CERN does not 21 | # waive the privileges and immunities granted to it by virtue of its status 22 | # as an Intergovernmental Organization or submit itself to any jurisdiction. 23 | 24 | from django.shortcuts import render_to_response 25 | 26 | # Create your views here. 27 | from django.template import RequestContext 28 | from thor.modules.dashboard.models import Event 29 | 30 | 31 | def home(request): 32 | return render_to_response("home.html", context_instance=RequestContext(request)) 33 | 34 | 35 | def dashboard(request): 36 | return render_to_response("dashboard.html", context_instance=RequestContext(request)) 37 | 38 | 39 | def data_dashboard(request): 40 | return render_to_response("data-dashboard.html", context_instance=RequestContext(request)) 41 | 42 | 43 | def researcher_dashboard(request): 44 | return render_to_response("research-identifier-dashboard.html", context_instance=RequestContext(request)) 45 | 46 | 47 | def event_dashboard(request): 48 | events = Event.objects.all() 49 | return render_to_response("event-dashboard.html", {'events': events}, context_instance=RequestContext(request)) 50 | 51 | def crossrefs_dashboard(request): 52 | return render_to_response("crossrefs-dashboard.html", context_instance=RequestContext(request)) --------------------------------------------------------------------------------