The general format for citing data using the APA 7th ed. (p. 339) is provided below.
Author, A. A. (Date). Title of data set (Version number - if it exists) [Description of form]. Publisher Name. https://xxxxx
The form descriptions are flexible, but the most common is: [Data set]
Exclude the publisher name if it is the same as the author.
"Include a retrieval date only if the data set is designed to change over time" (p. 337): Retrieved Month, day, year, from https://xxxxx
Bureau of Labor Statistics. (n.d.). CPI for all urban consumers, 2014-2021 [Date set]. Retrieved July 29, 2021, from http://data.bls.gov
Pew Research Center. (2020). 19th Amendment survey [Data set]. https://www.pewresearch.org/social-trends/dataset/19th-amendment-survey/