Added datasource Bank of England database#85
Added datasource Bank of England database#85dwinrow wants to merge 8 commits intoJuliaQuant:mainfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## master #85 +/- ##
==========================================
- Coverage 93.10% 90.24% -2.86%
==========================================
Files 4 4
Lines 58 82 +24
==========================================
+ Hits 54 74 +20
- Misses 4 8 +4
Continue to review full report at Codecov.
|
| :VPD => "Y" | ||
| ``` | ||
| """ | ||
| struct BoeOpt <: AbstractQueryOpt |
There was a problem hiding this comment.
Usually we use CamelCase for modules and type names, not for fields.
Can we switch to lowercase? Like
struct BoeOpt
date_from::Date
date_to::Date
using_codes::Bool
csvf::String
vpd::Bool
endThere was a problem hiding this comment.
An AbstractQueryOpt is passed to the HTTP GET command with its fieldnames and values as a query.
I chose fieldnames to be consistent with the API documentation. https://www.bankofengland.co.uk/boeapps/database/Help.asp#CSV
However, I agree that lowercase is standard for fieldnames, and since the parameter names in a HTTP GET query are case-insensitive this shouldn't cause an issue. However, underscores would not be consistent with AbstractQueryOpt as I would need to change the field names to construct the query.
|
There was an error |
No description provided.