Stores the provided base URL in the DATACOMMONS_BASE_URL environment variable. Useful for pointing to alternative or testing endpoints.

dc_set_base_url(base_url)

Arguments

base_url

A string containing the base URL for the Data Commons API.

Value

Invisibly returns NULL. Called for its side effect of setting an environment variable.