Closed JulienLebranchu closed 1 year ago
Update the function to be more generic
vessel_number_data <- data_extraction( type = "database", data_connection = balbaya_con, sql_name = "balbaya_vessel_number.sql", time_period = time_period, country = country, vessel_type = as.integer(x = c(1,2,4, 5, 6)), vessel_type_select = vessel_type_select, ocean = ocean )
include default value to select all data.
vessel_number_data <- data_extraction( type = "database", data_connection = balbaya_con, sql_name = "balbaya_vessel_number.sql" )
equivalent to
vessel_number_data <- data_extraction( type = "database", data_connection = balbaya_con, sql_name = "balbaya_vessel_number.sql", time_period = NULL, country = NULL, vessel_type = NULL, vessel_type_select = NULL, ocean = NULL )
Update the function to be more generic
Proposition:
include default value to select all data.
equivalent to