Skip to content

Commit

Permalink
update tunaatlas_registers.R
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed Jul 29, 2021
1 parent 2e31f1b commit 0f781b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tunaatlas_scripts/tunaatlas_registers.R
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ register_unit_catch <- function(config){
con <- config$software$input$dbi
fetched <- dbGetQuery(con, "SELECT * FROM unit.unit_labels where tablesource_unit = 'catchunit_rfmos'")
out <- data.frame(
code = c(fetched$codesource_unit, "t", "no"),
code = c(fetched$codesource_unit),
uri = NA,
label = c(fetched$source_label, "metric tons", "number of fishes"),
label = c(fetched$source_label),
definition = NA
)
return(out)
Expand Down

0 comments on commit 0f781b0

Please sign in to comment.