Skip to content

Commit

Permalink
updating organismID
Browse files Browse the repository at this point in the history
  • Loading branch information
MathewBiddle committed Oct 13, 2023
1 parent ad8b2a1 commit 21a465d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3749,7 +3749,7 @@
"platform_id_tbl <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"platform_id\")\n",
"platform_id <- chartr(\" \", \"_\", platform_id_tbl$value)\n",
"\n",
"occurrencedf$organismID <- paste(platform_id, common_name, sep = \"_\")\n",
"occurrencedf$organismID <- paste(platform_id , common_name, sep = \"_\") # add first date occurrencedf %>% mutate(across('basisOfRecord', str_replace, 'User', 'HumanObservation'))\n",
"\n",
"# eventDate\n",
"occurrencedf$eventDate <- format(occurrencedf$atn_tbl.time, '%Y-%m-%dT%H:%M:%SZ')\n",
Expand Down

0 comments on commit 21a465d

Please sign in to comment.