Dumb question, but how do I convert data that is stored in blob format to a human readable format? My data is stored in a .sqlite file. Many of the fields are stored in blob[##, B] format when viewing in R (I can also use Python if you know a solution that way btw)
When I query my data I get responses like the following if I use HEX function around the column...
789C55CF310EC2300C05D0AB449E3B244D1AC7CCB02171...
When I query my data without the HEX function I get
b"x\x9cU\xcf1\x0e\xc20\x0c\x05\xd0\xabX\x9e;\x...
I'm expecting something like '2018' or'Canada' in my columns but instead I get all this nonsense.
library(RSQLite)
conn = RSQLite::dbConnect(RSQLite::SQLite(), '/Users/me/countries/database.sqlite')
dbGetQuery(conn, "select * from countries limit 10")