Description Usage Arguments Value Examples
Retrieves a data table based on the name of the table
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
name |
Code of the variable (e.g. retrieved using catalogue_variables) |
area |
Area in which the object is stored:
|
compress |
Should empty rows and columns be discarded? |
startyear, endyear |
Only retrieve data between these years |
timeslices |
Number of latest time slices to retrieve –
independent of/cumulative to |
regionalvariable |
Code of the regional variable whose value is
specified in |
regionalkey |
One or more regional keys. Multiple values can be supplied as a character vector or as a single string, with the regional keys separated by commas. Use of wildcard (*) possible. |
job |
Should a job be created if the table cannot be created immediately? |
stand |
Only retrieve data updated after this date (dd.mm.yyyy) |
language |
Search terms, returned messages and data descriptions in German ("de") or English ("en")? A default value can also be set to the global option |
genesis |
Which GENESIS database should be used? One of: "destatis", "regionalstatistik", "bildungsmonitoring", "bayern", "nrw", "sachsen-anhalt". A default value can also be set to the global option |
A data.frame
(or tbl_df
if tibble package is installed)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
options(genesis = "destatis")
get_table("12411-0001", startyear = 1960, endyear = 1969)
# Filter results by region
# ("KREISE": administrative districts; "01001": Flensburg)
get_table("12411-0015", regionalvariable = "KREISE", regionalkey = "01001")
options(genesis = "regionalstatistik")
# Get large table by creating a background processing job
get_table("12711-01-03-4", job = TRUE)
# List jobs you've created
catalogue_jobs()
# After the job is finished, you can retrieve the table with `get_table()`
# with `name` set to the name of the job.
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.