Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
brivas
ICOADS R HOSTACE
Commits
27416b56
Commit
27416b56
authored
4 years ago
by
brivas
Browse files
Options
Download
Plain Diff
Merge branch 'docs-updates' into 'master'
issue
#34
fixed See merge request
!23
parents
e46f1ae0
5b7bcce5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
rscripts/process_ships.R
rscripts/process_ships.R
+2
-6
No files found.
rscripts/process_ships.R
View file @
27416b56
...
...
@@ -209,15 +209,11 @@ for ( year in my_args[1]:my_args[2] ) {
# finished date processing
#--------------------------------------------
#cat('about to homog',"\n")
source
(
"/home/users/ekent01/nocgit/icoads.utils/R/homog_ids.R"
)
#mdata<-icoads.utils::homog_ids(mdata)
mdata
<-
homog_ids
(
mdata
)
mdata
<-
icoads.utils
::
homog_ids
(
mdata
)
if
(
length
(
mdata
$
uid
[
duplicated
(
mdata
$
uid
)])
>
0
)
stop
(
"after homog"
)
if
(
print.comm
)
cat
(
"homogenised IDs"
,
"\n"
)
#cat('about to add shipnames',"\n")
#mdata<-icoads.utils::add_shipnames(mdata)
source
(
"/home/users/ekent01/nocgit/icoads.utils/R/add_shipnames.R"
)
mdata
<-
add_shipnames
(
mdata
)
mdata
<-
icoads.utils
::
add_shipnames
(
mdata
)
if
(
length
(
mdata
$
uid
[
duplicated
(
mdata
$
uid
)])
>
0
)
stop
(
"after shipname"
)
if
(
print.comm
)
cat
(
"added shipnames"
,
"\n"
)
#cat('added shipnames',"\n")
...
...
This diff is collapsed.
Click to expand it.
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