Skip to contents

Stores the provided API key in the DATACOMMONS_API_KEY environment variable, which is used for authentication in API calls.

Usage

dc_set_api_key(api_key)

Arguments

api_key

A string containing a valid Data Commons API key.

Value

No return value, called for side effects.