All functions |
|
---|---|
generate a filename for a download |
|
Clean the data according to MONSTR rules. |
|
Get the Data |
|
Create the MONSTR defaults |
|
Read the file described by the metadata |
|
Writes the data to the 'clean' area |
|
Call the ONS API |
|
Available Datasets |
|
Available Editions |
|
Available Versions |
|
Dataset By Id |
|
Datasets Setup |
|
Download |
|
Safe Download Downloads a file and tries hard to tidy up in the event of errors. Since these files are typically large we don't want to leave them in temp directories. The destfile should only appear if the download was successful. |
|
write the data as a csv. |
|
Write Metadata
|
|
write the data as a RDS. |
|
write the data as a xlsx. |