Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
Example, showing the current issue:
This query should return a data frame with two rows, not 0.
In
ct_search, the default value for the commodity codes arg is "TOTAL", which is meant to mean "all commodities". In the guts of ct_search, the literal string "TOTAL" ends up getting used within the query url ... this works for all of the different "HS" commodity schemes, however for EB02, "TOTAL - all services" has an actual commodity code of 200.To fix this within
ct_search, when "all" or "total" is passed as input to argcommod_codes, I'll have a step that actually looks up the code for either in the current commodity codes db on file.This issue first came up in #5.