Stata

This API consists of modules for data requests: for those who wish to only query data and metadata from our project (or any other project on Google Cloud).

Modules (Data Request)

If this is your first time using the package, type db basedosdados and verify again if the steps above were completed successfully.

The package contains 7 commands, with their functionalities described below:

CommandDescription
bd_downloaddownloads data from Data Basis (DB).
bd_read_sqldownloads DB tables using specific queries.
bd_read_tabledownloads DB tables using dataset_id and table_id.
bd_list_datasetslists the dataset_id of available datasets in query_project_id.
bd_list_dataset_tableslists table_id for available tables in the specified dataset_id.
bd_get_table_descriptionshows the complete description of the DB table.
bd_get_table_columnsshows the names, types, and descriptions of columns in the specified table.

Each command has a supporting help file, just open the help and follow the instructions:

help [command]

Data Basis

PRODUCTS

Search enginePublic datalakeDB Pro

® 2025 Data Basis

Terms of UsePrivacy Policy