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

maxresults = 3000L #17

Open
yonoklee opened this issue May 26, 2021 · 0 comments
Open

maxresults = 3000L #17

yonoklee opened this issue May 26, 2021 · 0 comments

Comments

@yonoklee
Copy link

Many thanks for the package!

I noticed query_tv returns about 30 results most of time when I use 'ClipGallery' mode

Initial try was to increase 3000L to a larger number:
if (mode == "ClipGallery") query$maxresults <- 3000L
this did not seem to work

When I tried the line below, based on the actual link
if (mode == "ClipGallery") query$maxrecords = 100L # 3000L original code

https://api.gdeltproject.org/api/v2/tv/tv?format=html&timespan=FULL&last24=yes&query=autism%20(station:CNN%20OR%20station:FOXNEWS%20OR%20station:MSNBC%20)%20&mode=clipgallery&sort=datedesc&maxrecords=5000&format=json

an error massage popped up:
Error : lexical error: inside a string, '' occurs before a character which it may not.
neral, they can go to cnn.com\impact and make a difference.
(right here) ------^ **pointing . [cnn.com] in the line above **

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

1 participant