Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
aaltodimensions
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Repository Analytics
Value Stream Analytics
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tuija Sonkkila
aaltodimensions
Commits
2e44d200
Commit
2e44d200
authored
Feb 13, 2018
by
Tuija Sonkkila
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Axis scale input and altmetrics
parent
df8a3469
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
server.R
server.R
+8
-6
No files found.
server.R
View file @
2e44d200
function
(
input
,
output
,
session
)
{
# When school is selected, filter data with it
schoolData
<-
reactive
({
...
...
@@ -45,8 +44,9 @@ function(input, output, session) {
paste0
(
"<a target='blank' href='"
,
urls
,
"'>"
,
urls
,
"</a>"
),
urls
))
%>%
rename
(
oa_virta
=
oa
)
%>%
select
(
url
,
title
,
year
,
is_oa
,
oa_url
,
times_cited
,
times_cited_wos
,
recent_citations
,
relative_citation_ratio
,
field_citation_ratio
,
authors
,
oa_virta
,
fieldcount
,
parent
,
name
)
select
(
url
,
title
,
year
,
is_oa
,
oa_url
,
times_cited
,
wos
,
recent_citations
,
relative_citation_ratio
,
field_citation_ratio
,
tweets
,
mendeley
,
altm_score
,
authors
,
oa_virta
,
fieldcount
,
parent
,
name
)
})
...
...
@@ -71,8 +71,10 @@ function(input, output, session) {
symbol
=
~
symbol
,
marker
=
list
(
size
=
10
,
opacity
=
0.7
),
hovertext
=
~
text
)
%>%
layout
(
xaxis
=
list
(
title
=
input
$
xc
),
yaxis
=
list
(
title
=
input
$
yc
),
layout
(
xaxis
=
list
(
title
=
input
$
xc
,
type
=
input
$
xscale
),
yaxis
=
list
(
title
=
input
$
yc
,
type
=
input
$
yscale
),
title
=
title
)
})
...
...
@@ -114,7 +116,7 @@ function(input, output, session) {
extensions
=
"FixedHeader"
,
options
=
list
(
paging
=
TRUE
,
fixedHeader
=
TRUE
,
autoWidth
=
FALS
E
,
autoWidth
=
TRU
E
,
scrollX
=
TRUE
,
columnDefs
=
list
(
list
(
target
=
"_all"
,
width
=
"50px"
))))
return
(
dat
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment