importStandardizationReference.RdImport a Standardization Reference from CSV File
importStandardizationReference(
filepath,
name,
country,
year,
source,
reference = NULL,
encoding = "UTF-8"
)Character. Path to CSV file
Character. Name for the reference
Character. Country or region
Integer. Reference year
Character. Data source description
Character. URL or reference to access the source data (optional)
Character. File encoding (default: "UTF-8")
StandardizationReference object
CSV file should have columns: age, gender, population Additional columns are ignored.
if (FALSE) {
my_ref <- importStandardizationReference(
filepath = "data/my_population.csv",
name = "Regional Census",
country = "My Country",
year = 2020,
source = "Regional Statistics Bureau"
)
}