Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
friendlyr
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
rglow
friendlyr
Commits
c959a052
Commit
c959a052
authored
6 years ago
by
jml
Browse files
Options
Downloads
Patches
Plain Diff
typo
parent
14167e65
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
DESCRIPTION
+1
-1
1 addition, 1 deletion
DESCRIPTION
R/meta.R
+0
-3
0 additions, 3 deletions
R/meta.R
with
1 addition
and
4 deletions
DESCRIPTION
+
1
−
1
View file @
c959a052
Package: friendlyr
Package: friendlyr
Type: Package
Type: Package
Version: 0.
0.9
Version: 0.
1.0
Authors@R: c(person("Jean-Marie", "Lepioufle", , "jml@nilu.no", role=c("aut","cre")),
Authors@R: c(person("Jean-Marie", "Lepioufle", , "jml@nilu.no", role=c("aut","cre")),
person("NILU",role="cph"))
person("NILU",role="cph"))
Title: friendlyr
Title: friendlyr
...
...
This diff is collapsed.
Click to expand it.
R/meta.R
+
0
−
3
View file @
c959a052
...
@@ -15,11 +15,8 @@
...
@@ -15,11 +15,8 @@
#' meta()
#' meta()
#' }
#' }
meta
<-
function
(
service
,
username
=
NULL
,
password
=
NULL
,
element_id
=
NULL
,
timeResolution
=
NULL
,
station_id
=
NULL
,
location
=
NULL
)
{
meta
<-
function
(
service
,
username
=
NULL
,
password
=
NULL
,
element_id
=
NULL
,
timeResolution
=
NULL
,
station_id
=
NULL
,
location
=
NULL
)
{
friend
<-
friendlyr
(
service
=
service
,
username
=
username
,
password
=
password
)
friend
<-
friendlyr
(
service
=
service
,
username
=
username
,
password
=
password
)
res
<-
friend
$
meta
(
element_id
=
element_id
,
timeResolution
=
timeResolution
,
station_id
=
station_id
,
location
=
location
)
res
<-
friend
$
meta
(
element_id
=
element_id
,
timeResolution
=
timeResolution
,
station_id
=
station_id
,
location
=
location
)
res
<-
tibble
::
as_tibble
(
res
)
res
<-
tibble
::
as_tibble
(
res
)
res
$
ID
<-
as.factor
(
res
$
ID
)
if
(
!
is.null
(
element_id
))
res
$
CO_NAME
<-
as.factor
(
res
$
CO_NAME
)
return
(
res
)
return
(
res
)
}
}
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