I am running the code below
dbWriteTable(conn = mydb, "countries", cntr, overwrite = TRUE, row.names = FALSE)
and getting the error
Error: Cannot drop table 'countries' referenced by a foreign key constraint 'general_pop_estimates_ibfk_1' on table 'general_pop_estimates'. [3730]
I am wondering whether there's a work around on this