Reputation: 51
I've been trying to add GDELT events data to BigQuery with no success so far.. I use the link below in my attmpets; clicking view dataset >> create table >> add arbitrary table name >> create table and then I get this error:
You are missing permissions and may need to talk to your administrator. Original error message: Failed to create table: Access Denied: Dataset gdelt-bq:gdeltv2: Permission bigquery.tables.create denied on dataset gdelt-bq:gdeltv2 (or it may not exist).
I tried changing my roles to admin and data editor but I still get the same error above.
Anyone who can help?
Upvotes: 0
Views: 508
Reputation: 11
Steps to Use BigQuery with the GDELT Database
SELECT ActionGeo_CountryCode, COUNT(*) AS event_count
FROM gdelt-bq.gdeltv2.events
WHERE Year = 2023
GROUP BY ActionGeo_CountryCode
ORDER BY event_count DESC;
The sql code can not show itself in the right format, see the picture below
Two Pictures below show themselves clearly
pic.1 enter image description here
pic.2 enter image description here
Upvotes: 1
Reputation: 832
GDELT is a public dataset where it can't be edited or you can't create a table without the administrator's permissions. Even if you tried changing your roles to Admin and Data Editor
, the changes you made are within your project only. The ones who handle GDELT dataset are the ones who will grant you the permissions, but I don't think it is possible since GDELT is for public use.
I highly recommend the procedure written in the comment above for you to be able to view and explore GDELT database.
Upvotes: 1