Whilst googleAnalyticsR has management API functions for universal analytics, the prime use case is for data processing so the priority will be for data processing/modelling use cases e.g. provision accounts may be better suited elsewhere.
Ideally will try to use the existing function names where possible, but with a new flag to indicate GA4 properties. The data models are too different to merge the results.
First aim will be listing accounts etc. that are helpful for batch downloading reports, via ga_account_list("ga4") vs default ga_account_list("universal")
There are a lot of features to the GA4 admin API https://developers.google.com/analytics/devguides/config/admin/v1
Whilst googleAnalyticsR has management API functions for universal analytics, the prime use case is for data processing so the priority will be for data processing/modelling use cases e.g. provision accounts may be better suited elsewhere.
Ideally will try to use the existing function names where possible, but with a new flag to indicate GA4 properties. The data models are too different to merge the results.
First aim will be listing accounts etc. that are helpful for batch downloading reports, via
ga_account_list("ga4")
vs defaultga_account_list("universal")