Skip to content
Snippets Groups Projects
Commit c2ffe89c authored by Ben Anderson's avatar Ben Anderson
Browse files

corrected area look up t ables data loading

parent 5d756e41
No related branches found
No related tags found
No related merge requests found
...@@ -115,7 +115,7 @@ NB in order to get the label text re-coding to work we had to remove some strang ...@@ -115,7 +115,7 @@ NB in order to get the label text re-coding to work we had to remove some strang
Next we add the area level labels for 2013 using the relevant areas file. First we check the area level file (http://archive.stats.govt.nz/browse_for_stats/Maps_and_geography/Geographic-areas/geographic-area-files.aspx#2013) to see how many meshblocks we should expect. Next we add the area level labels for 2013 using the relevant areas file. First we check the area level file (http://archive.stats.govt.nz/browse_for_stats/Maps_and_geography/Geographic-areas/geographic-area-files.aspx#2013) to see how many meshblocks we should expect.
```{r loadAreas} ```{r loadAreas}
areasDT <- fread(paste0(lParams$gisPath, "2013/2013_Areas_Table.txt")) areasDT <- data.table::fread(lParams$areasTable2013)
setkey(areasDT, MB2013_code) setkey(areasDT, MB2013_code)
``` ```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment