Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated API Info #13

Open
MikeGruz opened this issue Feb 23, 2018 · 5 comments
Open

Updated API Info #13

MikeGruz opened this issue Feb 23, 2018 · 5 comments

Comments

@MikeGruz
Copy link
Contributor

It looks like the GDELT Project has provided documentation for the 2.0 API - I'm working on a project that makes use of this data, so I'm already almost finished updating the query_tv function to work with the changes (documentation can be found here).

I'll submit a pull request in the next day or so with changes. Mostly these involve names of API parameters, date formatting (they're now requiring date-time for date ranges) and the like.

@hrbrmstr
Copy link
Owner

Many thanks!

Do you know if they have they fixed some of the issues with the other API parameters? I recall there being severe issues with choosing stations and station groupings (e.g. "National" was generating errors on their back-end even in their web tools).

Def make sure you add yourself to the DESCRIPTION for this (pls). I'll get this on CRAN ASAP after the PR.

@MikeGruz
Copy link
Contributor Author

Yep! I think the National search is working again - albeit in a wonky fashion (unlike station parameters, "National" has to be surrounded by quotes - think it has to do with sub-markets such as San Francisco being two words).

I should already be in the DESCRIPTION - added that the last go-round. Will be in touch!

@MikeGruz
Copy link
Contributor Author

Brief update: I have emailed GDELT about their dates - for some reason JSON results for date spans under a week don't include times. Hopefully can get some resolution on that soon, otherwise short time periods really aren't worth much using the API.

@hrbrmstr
Copy link
Owner

Is it my imagination or did GDELT stop returning the text for everything but video clips?

@MikeGruz
Copy link
Contributor Author

Yeah - it kind of looks like it. I wonder what's going on there, if it's an error or they just changed the overall operation of the API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants