make_file | R Documentation |
Make a csv
file with the specifications in the Access register
database and implement them to the raw data of the selected group of files
ie. (filgruppe). All files under the selected group will be affected
unless the KOBLID
with argument koblid
is specified or
select
argument is used. Specifying koblid
or select
is useful especially for testing purposes.
This function is the most used function in KHelse for processing
raw data. The function lag_fil()
is an alias to make_file()
.
make_file(
group = NULL,
koblid = NULL,
aggregate = NULL,
save = FALSE,
year.geo = NULL,
implicitnull = NULL,
row = NULL,
base = NULL,
parallel = deprecated(),
raw = NULL,
select = NULL
)
lag_fil(
group = NULL,
koblid = NULL,
aggregate = NULL,
save = FALSE,
year.geo = NULL,
implicitnull = NULL,
row = NULL,
base = NULL,
parallel = deprecated(),
raw = NULL,
select = NULL
)
mf(
group = NULL,
koblid = NULL,
aggregate = NULL,
save = FALSE,
year.geo = NULL,
implicitnull = NULL,
row = NULL,
base = NULL,
parallel = deprecated(),
raw = NULL,
select = NULL
)
group |
The name of filegroup as specified in filgruppe |
koblid |
|
aggregate |
Logical value. Default is |
save |
Logical value. Default is |
year.geo |
Which reference year to use for geograhical coding. If it is
missing then global option for |
implicitnull |
Logical value. Default is |
row |
Select specific row(s) numbers only. Useful for debugging. Please read Debugging article for detail. |
base |
Logical value. If |
parallel |
Logical or numeric value. With logical value |
raw |
Logical value. Default is |
select |
Select number of valid files to process as an alternative to
using |
Other filegroups functions:
make_filegroups()
## Not run:
dt <- make_file("ENPERSON")
dt <- make_file("ENPERSON", raw = TRUE) #Skip DuckDB and read directly from original files
dt <- make_file("ENPERSON", koblid = 120:125) #Select specific files only
dt <- make_file("ENPERSON", select = "last") #Select most recent file
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.