Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Riricdata
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bioinfo_iric
Riricdata
Commits
b2d57280
Commit
b2d57280
authored
4 years ago
by
LouisGendron
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of gitlab.iric.ca:bioinfo_iric/riricdata
parents
11f8d135
5055ec9f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
R/IRICData-class.R
+4
-4
4 additions, 4 deletions
R/IRICData-class.R
with
4 additions
and
4 deletions
R/IRICData-class.R
+
4
−
4
View file @
b2d57280
...
...
@@ -12,9 +12,9 @@
#' ### IRICData class
#' ###
require
(
jsonlite
)
require
(
data.table
)
require
(
rvest
)
library
(
jsonlite
)
library
(
data.table
)
library
(
rvest
)
IRICData
<-
setClass
(
# Set the name for the class
...
...
@@ -175,7 +175,7 @@ setMethod(
if
(
tmp
[
1
]
==
'download'
){
#annotation files will start with "annotation" isntead of "download"
file_id
<-
tmp
[
2
]
resp
<-
rvest
::
jump_to
(
session
,
paste
(
url_
,
'secure/datafiles/json/metadata'
,
file_id
,
sep
=
'/'
))
metadata
<-
fromJSON
(
rawToChar
(
resp
$
response
$
content
))
metadata
<-
jsonlite
::
fromJSON
(
rawToChar
(
resp
$
response
$
content
))
metadata
$
file_id
<-
file_id
return
(
metadata
)
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment