Closed MikeGruz closed 6 years ago
thx! (i had caught this in a local copy — I'm trying to get v2 of the API to work with the package but the V2 API on GDALT's end has been horribly broken for a while).
If you could also modify the PR and add yourself as a contributor to the DESCRIPTION that'd be a big help and I'll incorporate the PR right away.
Happy to! I've been plinking around with it a bit since noticing the issues with post-2017 dates and will let you know if I figure anything out.
thx. the main issue now is the way the V2 API handles news source selections. it breaks (you can see it break on the web, too) for "national" as there's something weird going on with the back-end parser. Since there's no pay-for API, they aren't exactly responsive with error reports.
The call to
map_chr()
for parametersstart_date
andend_date
doesn't work without the packagepurrr
being imported completely. As per Hadley Wickham's recommendations, I added an explicit call topurrr
rather than adding in animportfrom
statement in the package import file.