Prepare the masterdata_ownership_datastore
or masterdata_debt_datastore
output data frame from an import of a raw AR masterdata_* CSV
Source: R/prepare_masterdata.R
prepare_masterdata.Rd
Prepare the masterdata_ownership_datastore
or masterdata_debt_datastore
output data frame from an import of a raw AR masterdata_* CSV
Usage
prepare_masterdata(
data,
ar_company_id__country_of_domicile,
pacta_financial_timestamp,
zero_emission_factor_techs
)
Arguments
- data
A dataframe containing the raw input of an AR masterdata_* CSV files
- ar_company_id__country_of_domicile
A data frame with two columns mapping
ar_company_id
tocountry_of_domicile
- pacta_financial_timestamp
A single element character vector specifying the timestamp in the PACTA format, e.g. "2021Q4"
- zero_emission_factor_techs
A character vector listing technologies that will have emission factors manually forced to 0