[R/aa_environments.r:4:4:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/aa_environments.r#L4) *style:* **Variable and function name style should be snake_case.**
```r
nb$AA <- "\u00C5"
   ^~
```
[R/aa_environments.r:6:4:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/aa_environments.r#L6) *style:* **Variable and function name style should be snake_case.**
```r
nb$OE <- "\u00D8"
   ^~
```
[R/aa_environments.r:8:4:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/aa_environments.r#L8) *style:* **Variable and function name style should be snake_case.**
```r
nb$AE <- "\u00C6"
   ^~
```
[R/data_countries_nb_to_en.R:17:3:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_countries_nb_to_en.R#L17) *style:* **Variable and function name style should be snake_case.**
```r
  faroeIslands <- paste0("F", nb$ae, "r", nb$OE, "yene")
  ^~~~~~~~~~~~
```
[R/data_countries_nb_to_en.R:19:3:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_countries_nb_to_en.R#L19) *style:* **Variable and function name style should be snake_case.**
```r
  southAfrica <- paste0("S", nb$oe, "r-Afrika")
  ^~~~~~~~~~~
```
[R/data_countries_nb_to_en.R:20:3:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_countries_nb_to_en.R#L20) *style:* **Variable and function name style should be snake_case.**
```r
  southKorea <- paste0("S", nb$oe, "r-Korea")
  ^~~~~~~~~~
```
[R/data_gen_all.r:13:1:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_gen_all.r#L13) *style:* **Lines should not be more than 120 characters.**
```r
  save(norway_fixing_merged_municips, file = file.path(base_loc, "norway_fixing_merged_municips.rda"), compress = "bzip2")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/data_gen_all.r:51:68:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_gen_all.r#L51) *style:* **Put spaces around all infix operators.**
```r
  norway_childhood_vax_b2019 <- gen_norway_childhood_vax(x_year_end=2019)
                                                                  ~^~
```
[R/data_gen_all.r:64:3:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_gen_all.r#L64) *style:* **Variable and function names should not be longer than 30 characters.**
```r
  norway_map_counties_label_positions_b2019 <- gen_norway_map_counties_label_positions(x_year_end=2020)
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/data_gen_all.r:64:98:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_gen_all.r#L64) *style:* **Put spaces around all infix operators.**
```r
  norway_map_counties_label_positions_b2019 <- gen_norway_map_counties_label_positions(x_year_end=2020)
                                                                                ~^~
```
[R/data_gen_all.r:65:1:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_gen_all.r#L65) *style:* **Lines should not be more than 120 characters.**
```r
  save(norway_map_counties_label_positions_b2019, file=file.path(base_loc,"norway_map_counties_label_positions_b2019.rda"), compress = "xz")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/data_gen_all.r:65:55:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_gen_all.r#L65) *style:* **Put spaces around all infix operators.**
```r
  save(norway_map_counties_label_positions_b2019, file=file.path(base_loc,"norway_map_counties_label_positions_b2019.rda"), compress = "xz")
                                                     ~^~
```
[R/data_gen_all.r:65:75:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_gen_all.r#L65) *style:* **Commas should always have a space after.**
```r
  save(norway_map_counties_label_positions_b2019, file=file.path(base_loc,"norway_map_counties_label_positions_b2019.rda"), compress = "xz")
                                                                          ^
```
[R/data_gen_all.r:66:3:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_gen_all.r#L66) *style:* **Variable and function names should not be longer than 30 characters.**
```r
  norway_map_counties_label_positions_b2020 <-  gen_norway_map_counties_label_positions(x_year_end=2020)
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/data_gen_all.r:66:99:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_gen_all.r#L66) *style:* **Put spaces around all infix operators.**
```r
  norway_map_counties_label_positions_b2020 <-  gen_norway_map_counties_label_positions(x_year_end=2020)
                                                                                ~^~
```
[R/data_gen_all.r:67:1:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_gen_all.r#L67) *style:* **Lines should not be more than 120 characters.**
```r
  save(norway_map_counties_label_positions_b2020, file=file.path(base_loc,"norway_map_counties_label_positions_b2020.rda"), compress = "xz")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/data_gen_all.r:67:55:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_gen_all.r#L67) *style:* **Put spaces around all infix operators.**
```r
  save(norway_map_counties_label_positions_b2020, file=file.path(base_loc,"norway_map_counties_label_positions_b2020.rda"), compress = "xz")
                                                     ~^~
```
[R/data_gen_all.r:67:75:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_gen_all.r#L67) *style:* **Commas should always have a space after.**
```r
  save(norway_map_counties_label_positions_b2020, file=file.path(base_loc,"norway_map_counties_label_positions_b2020.rda"), compress = "xz")
                                                                          ^
```
[R/data_gen_all.r:69:5:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_gen_all.r#L69) *style:* **Commented code should be removed.**
```r
  # norway_map_counties_b2019 <- gen_norway_map_counties(x_year_end=2019)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/data_gen_all.r:70:1:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_gen_all.r#L70) *style:* **Lines should not be more than 120 characters.**
```r
  # save(norway_map_counties_b2019, file=file.path("/git","/fhidata","data","norway_map_counties_b2019.rda"), compress = "xz")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/data_gen_all.r:70:5:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_gen_all.r#L70) *style:* **Commented code should be removed.**
```r
  # save(norway_map_counties_b2019, file=file.path("/git","/fhidata","data","norway_map_counties_b2019.rda"), compress = "xz")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/data_gen_all.r:71:5:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_gen_all.r#L71) *style:* **Commented code should be removed.**
```r
  # norway_map_municips_b2019 <-  gen_norway_map_municips(x_year_end=2019)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/data_gen_all.r:72:1:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_gen_all.r#L72) *style:* **Lines should not be more than 120 characters.**
```r
  # save(norway_map_municips_b2019, file=file.path("/git","/fhidata","data","norway_map_municips_b2019.rda"), compress = "xz")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/data_gen_all.r:72:5:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_gen_all.r#L72) *style:* **Commented code should be removed.**
```r
  # save(norway_map_municips_b2019, file=file.path("/git","/fhidata","data","norway_map_municips_b2019.rda"), compress = "xz")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/data_gen_all.r:74:5:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_gen_all.r#L74) *style:* **Commented code should be removed.**
```r
  # norway_map_counties_b2020 <- gen_norway_map_counties(x_year_end=2020)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/data_gen_all.r:75:1:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_gen_all.r#L75) *style:* **Lines should not be more than 120 characters.**
```r
  # save(norway_map_counties_b2020, file=file.path("/git","/fhidata","data","norway_map_counties_b2020.rda"), compress = "xz")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/data_gen_all.r:75:5:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_gen_all.r#L75) *style:* **Commented code should be removed.**
```r
  # save(norway_map_counties_b2020, file=file.path("/git","/fhidata","data","norway_map_counties_b2020.rda"), compress = "xz")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/data_gen_all.r:76:5:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_gen_all.r#L76) *style:* **Commented code should be removed.**
```r
  # norway_map_municips_b2020 <-  gen_norway_map_municips(x_year_end=2020)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/data_gen_all.r:77:1:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_gen_all.r#L77) *style:* **Lines should not be more than 120 characters.**
```r
  # save(norway_map_municips_b2020, file=file.path("/git","/fhidata","data","norway_map_municips_b2020.rda"), compress = "xz")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/data_gen_all.r:77:5:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_gen_all.r#L77) *style:* **Commented code should be removed.**
```r
  # save(norway_map_municips_b2020, file=file.path("/git","/fhidata","data","norway_map_municips_b2020.rda"), compress = "xz")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/data_gen_all.r:79:5:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_gen_all.r#L79) *style:* **Commented code should be removed.**
```r
  # load(file.path(base_loc,"norway_locations_b2019.rda"))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/data_gen_all.r:80:5:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_gen_all.r#L80) *style:* **Commented code should be removed.**
```r
  # load(file.path(base_loc,"norway_map_municips_b2019.rda"))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/data_gen_all.r:81:5:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_gen_all.r#L81) *style:* **Commented code should be removed.**
```r
  # senorge_b2019 <- gen_senorge(norway_locations_b2019, norway_map_municips_b2019)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/data_gen_all.r:82:5:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_gen_all.r#L82) *style:* **Commented code should be removed.**
```r
  # save(senorge_b2019, file=file.path(base_loc,"senorge_b2019.rda"), compress = "xz")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/data_gen_all.r:84:5:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_gen_all.r#L84) *style:* **Commented code should be removed.**
```r
  # load(file.path(base_loc,"norway_locations_b2020.rda"))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/data_gen_all.r:85:5:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_gen_all.r#L85) *style:* **Commented code should be removed.**
```r
  # load(file.path(base_loc,"norway_map_municips_b2020.rda"))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/data_gen_all.r:86:5:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_gen_all.r#L86) *style:* **Commented code should be removed.**
```r
  # senorge_b2020 <- gen_senorge(norway_locations_b2020, norway_map_municips_b2020)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/data_gen_all.r:87:5:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_gen_all.r#L87) *style:* **Commented code should be removed.**
```r
  # save(senorge_b2020, file=file.path(base_loc,"senorge_b2020.rda"), compress = "xz")
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/data_gen_all.r:89:1:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_gen_all.r#L89) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[R/data_gen_all.r:90:1:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_gen_all.r#L90) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[R/data_gen_all.r:91:1:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_gen_all.r#L91) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[R/data_gen_all.r:92:1:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_gen_all.r#L92) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[R/data_gen_all.r:93:1:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_gen_all.r#L93) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[R/data_norway_childhood_vax.r:32:3:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_childhood_vax.r#L32) *style:* **Variable and function name style should be snake_case.**
```r
  GEO <- NULL
  ^~~
```
[R/data_norway_childhood_vax.r:34:3:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_childhood_vax.r#L34) *style:* **Variable and function name style should be snake_case.**
```r
  AAR <- NULL
  ^~~
```
[R/data_norway_childhood_vax.r:35:3:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_childhood_vax.r#L35) *style:* **Variable and function name style should be snake_case.**
```r
  SPVFLAGG <- NULL
  ^~~~~~~~
```
[R/data_norway_childhood_vax.r:36:3:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_childhood_vax.r#L36) *style:* **Variable and function name style should be snake_case.**
```r
  ALDER <- NULL
  ^~~~~
```
[R/data_norway_childhood_vax.r:38:3:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_childhood_vax.r#L38) *style:* **Variable and function name style should be snake_case.**
```r
  RATE <- NULL
  ^~~~
```
[R/data_norway_childhood_vax.r:40:3:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_childhood_vax.r#L40) *style:* **Variable and function name style should be snake_case.**
```r
  VAKSINE <- NULL
  ^~~~~~~
```
[R/data_norway_childhood_vax.r:46:5:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_childhood_vax.r#L46) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(x_year_end==2019){
    ^
```
[R/data_norway_childhood_vax.r:46:16:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_childhood_vax.r#L46) *style:* **Put spaces around all infix operators.**
```r
  if(x_year_end==2019){
              ~^~~
```
[R/data_norway_childhood_vax.r:46:22:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_childhood_vax.r#L46) *style:* **There should be a space between right parenthesis and an opening curly brace.**
```r
  if(x_year_end==2019){
                     ^~
```
[R/data_norway_locations.r:34:28:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_locations.r#L34) *style:* **Commas should always have a space after.**
```r
  unique(norway_locations[,c("municip_code_current","municip_name","county_code","county_name")])
                           ^
```
[R/data_norway_locations.r:34:53:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_locations.r#L34) *style:* **Commas should always have a space after.**
```r
  unique(norway_locations[,c("municip_code_current","municip_name","county_code","county_name")])
                                                    ^
```
[R/data_norway_locations.r:34:68:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_locations.r#L34) *style:* **Commas should always have a space after.**
```r
  unique(norway_locations[,c("municip_code_current","municip_name","county_code","county_name")])
                                                                   ^
```
[R/data_norway_locations.r:34:82:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_locations.r#L34) *style:* **Commas should always have a space after.**
```r
  unique(norway_locations[,c("municip_code_current","municip_name","county_code","county_name")])
                                                                                ^
```
[R/data_norway_locations.r:35:44:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_locations.r#L35) *style:* **Put spaces around all infix operators.**
```r
  norway_locations <- norway_locations[year==max(year),c(
                                          ~^~~
```
[R/data_norway_locations.r:35:56:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_locations.r#L35) *style:* **Commas should always have a space after.**
```r
  norway_locations <- norway_locations[year==max(year),c(
                                                       ^
```
[R/data_norway_map.R:122:1:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_map.R#L122) *style:* **Lines should not be more than 120 characters.**
```r
#' q <- q + geom_polygon(data = fhidata::norway_map_counties_b2019, mapping=aes(group = group), color = "black", fill="white")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/data_norway_map.R:123:1:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_map.R#L123) *style:* **Lines should not be more than 120 characters.**
```r
#' q <- q + geom_text(data = fhidata::norway_map_counties_label_positions_b2019, mapping=aes(label=location_code), color = "red")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/data_norway_map.R:142:1:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_map.R#L142) *style:* **Lines should not be more than 120 characters.**
```r
#' q <- q + geom_polygon(data = fhidata::norway_map_counties_b2020, mapping=aes(group = group), color = "black", fill="white")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/data_norway_map.R:143:1:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_map.R#L143) *style:* **Lines should not be more than 120 characters.**
```r
#' q <- q + geom_text(data = fhidata::norway_map_counties_label_positions_b2020, mapping=aes(label=location_code), color = "red")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/data_norway_map.R:149:1:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_map.R#L149) *style:* **Variable and function names should not be longer than 30 characters.**
```r
gen_norway_map_counties_label_positions <- function(x_year_end){
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/data_norway_map.R:149:63:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_map.R#L149) *style:* **There should be a space between right parenthesis and an opening curly brace.**
```r
gen_norway_map_counties_label_positions <- function(x_year_end){
                                                              ^~
```
[R/data_norway_map.R:150:38:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_map.R#L150) *style:* **Commas should always have a space after.**
```r
  stopifnot(x_year_end %in% c("2019","2020"))
                                     ^
```
[R/data_norway_map.R:152:5:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_map.R#L152) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(x_year_end==2019){
    ^
```
[R/data_norway_map.R:152:16:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_map.R#L152) *style:* **Put spaces around all infix operators.**
```r
  if(x_year_end==2019){
              ~^~~
```
[R/data_norway_map.R:152:22:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_map.R#L152) *style:* **There should be a space between right parenthesis and an opening curly brace.**
```r
  if(x_year_end==2019){
                     ^~
```
[R/data_norway_map.R:171:12:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_map.R#L171) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  } else if(x_year_end==2020){
           ^
```
[R/data_norway_map.R:171:23:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_map.R#L171) *style:* **Put spaces around all infix operators.**
```r
  } else if(x_year_end==2020){
                     ~^~~
```
[R/data_norway_map.R:171:29:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_map.R#L171) *style:* **There should be a space between right parenthesis and an opening curly brace.**
```r
  } else if(x_year_end==2020){
                            ^~
```
[R/data_norway_map.R:196:38:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_map.R#L196) *style:* **Commas should always have a space after.**
```r
  stopifnot(x_year_end %in% c("2019","2020"))
                                     ^
```
[R/data_norway_map.R:204:5:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_map.R#L204) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(x_year_end==2019){
    ^
```
[R/data_norway_map.R:204:16:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_map.R#L204) *style:* **Put spaces around all infix operators.**
```r
  if(x_year_end==2019){
              ~^~~
```
[R/data_norway_map.R:204:22:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_map.R#L204) *style:* **There should be a space between right parenthesis and an opening curly brace.**
```r
  if(x_year_end==2019){
                     ^~
```
[R/data_norway_map.R:210:12:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_map.R#L210) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  } else if(x_year_end==2020){
           ^
```
[R/data_norway_map.R:210:23:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_map.R#L210) *style:* **Put spaces around all infix operators.**
```r
  } else if(x_year_end==2020){
                     ~^~~
```
[R/data_norway_map.R:210:29:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_map.R#L210) *style:* **There should be a space between right parenthesis and an opening curly brace.**
```r
  } else if(x_year_end==2020){
                            ^~
```
[R/data_norway_map.R:237:38:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_map.R#L237) *style:* **Commas should always have a space after.**
```r
  stopifnot(x_year_end %in% c("2019","2020"))
                                     ^
```
[R/data_norway_map.R:246:5:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_map.R#L246) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  if(x_year_end==2019){
    ^
```
[R/data_norway_map.R:246:16:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_map.R#L246) *style:* **Put spaces around all infix operators.**
```r
  if(x_year_end==2019){
              ~^~~
```
[R/data_norway_map.R:246:22:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_map.R#L246) *style:* **There should be a space between right parenthesis and an opening curly brace.**
```r
  if(x_year_end==2019){
                     ^~
```
[R/data_norway_map.R:252:12:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_map.R#L252) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  } else if(x_year_end==2020){
           ^
```
[R/data_norway_map.R:252:23:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_map.R#L252) *style:* **Put spaces around all infix operators.**
```r
  } else if(x_year_end==2020){
                     ~^~~
```
[R/data_norway_map.R:252:29:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_map.R#L252) *style:* **There should be a space between right parenthesis and an opening curly brace.**
```r
  } else if(x_year_end==2020){
                            ^~
```
[R/data_norway_municip_merging.r:116:3:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L116) *style:* **Variable and function name style should be snake_case.**
```r
  realEnd <- NULL
  ^~~~~~~
```
[R/data_norway_municip_merging.r:120:3:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L120) *style:* **Variable and function name style should be snake_case.**
```r
  masterData <- data.table(readxl::read_excel(system.file("extdata", "norway_locations.xlsx", package = "fhidata")))
  ^~~~~~~~~~
```
[R/data_norway_municip_merging.r:121:41:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L121) *style:* **Put spaces around all infix operators.**
```r
  masterData[is.na(weighting), weighting:=1]
                                       ~^~~
```
[R/data_norway_municip_merging.r:124:3:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L124) *style:* **Variable and function name style should be snake_case.**
```r
  masterData <- masterData[year_start<=x_year_end]
  ^~~~~~~~~~
```
[R/data_norway_municip_merging.r:124:38:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L124) *style:* **Put spaces around all infix operators.**
```r
  masterData <- masterData[year_start<=x_year_end]
                                    ~^~~
```
[R/data_norway_municip_merging.r:126:3:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L126) *style:* **Variable and function name style should be snake_case.**
```r
  masterData <- masterData[year_start>=x_year_start | is.na(year_end)]
  ^~~~~~~~~~
```
[R/data_norway_municip_merging.r:126:38:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L126) *style:* **Put spaces around all infix operators.**
```r
  masterData <- masterData[year_start>=x_year_start | is.na(year_end)]
                                    ~^~~
```
[R/data_norway_municip_merging.r:129:3:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L129) *style:* **Variable and function name style should be snake_case.**
```r
  masterData <- masterData[year_end>=x_year_start | is.na(year_end)]
  ^~~~~~~~~~
```
[R/data_norway_municip_merging.r:129:36:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L129) *style:* **Put spaces around all infix operators.**
```r
  masterData <- masterData[year_end>=x_year_start | is.na(year_end)]
                                  ~^~~
```
[R/data_norway_municip_merging.r:130:3:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L130) *style:* **Variable and function name style should be snake_case.**
```r
  masterData <- masterData[year_end<=x_year_end | is.na(year_end)]
  ^~~~~~~~~~
```
[R/data_norway_municip_merging.r:130:36:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L130) *style:* **Put spaces around all infix operators.**
```r
  masterData <- masterData[year_end<=x_year_end | is.na(year_end)]
                                  ~^~~
```
[R/data_norway_municip_merging.r:131:22:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L131) *style:* **Put spaces around all infix operators.**
```r
  masterData[year_end==x_year_end, municip_code_end:=NA]
                    ~^~~
```
[R/data_norway_municip_merging.r:131:52:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L131) *style:* **Put spaces around all infix operators.**
```r
  masterData[year_end==x_year_end, municip_code_end:=NA]
                                                  ~^~~
```
[R/data_norway_municip_merging.r:132:22:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L132) *style:* **Put spaces around all infix operators.**
```r
  masterData[year_end==x_year_end, year_end:=NA]
                    ~^~~
```
[R/data_norway_municip_merging.r:132:44:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L132) *style:* **Put spaces around all infix operators.**
```r
  masterData[year_end==x_year_end, year_end:=NA]
                                          ~^~~
```
[R/data_norway_municip_merging.r:134:55:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L134) *style:* **Put spaces around all infix operators.**
```r
  masterData[is.na(municip_code_end), municip_code_end:=municip_code]
                                                     ~^~~
```
[R/data_norway_municip_merging.r:135:39:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L135) *style:* **Put spaces around all infix operators.**
```r
  masterData[is.na(year_end), year_end:=x_year_end]
                                     ~^~~
```
[R/data_norway_municip_merging.r:137:27:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L137) *style:* **Commas should always have a space after.**
```r
  retval <- vector("list",10000)
                          ^
```
[R/data_norway_municip_merging.r:138:6:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L138) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  for(i in 1:nrow(masterData)){
     ^
```
[R/data_norway_municip_merging.r:138:12:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L138) *warning:* **Avoid 1:nrow(...) expressions, use seq_len.**
```r
  for(i in 1:nrow(masterData)){
           ^
```
[R/data_norway_municip_merging.r:138:30:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L138) *style:* **There should be a space between right parenthesis and an opening curly brace.**
```r
  for(i in 1:nrow(masterData)){
                             ^~
```
[R/data_norway_municip_merging.r:139:23:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L139) *style:* **Commas should always have a space after.**
```r
    p <- masterData[i,]
                      ^
```
[R/data_norway_municip_merging.r:140:11:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L140) *style:* **Put spaces around all infix operators.**
```r
    years <-p$year:p$year_end
          ^~~
```
[R/data_norway_municip_merging.r:141:21:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L141) *style:* **Commas should always have a space after.**
```r
    temp <- p[rep(1,length(years))]
                    ^
```
[R/data_norway_municip_merging.r:142:11:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L142) *style:* **Commas should always have a space after.**
```r
    temp[,year:=years]
          ^
```
[R/data_norway_municip_merging.r:142:15:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L142) *style:* **Put spaces around all infix operators.**
```r
    temp[,year:=years]
             ~^~~
```
[R/data_norway_municip_merging.r:146:21:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L146) *style:* **Commas should always have a space after.**
```r
  setorder(skeleton,year,municip_code)
                    ^
```
[R/data_norway_municip_merging.r:146:26:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L146) *style:* **Commas should always have a space after.**
```r
  setorder(skeleton,year,municip_code)
                         ^
```
[R/data_norway_municip_merging.r:148:4:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L148) *style:* **Commented code should be removed.**
```r
  #skeleton <- skeleton[municip_code %in% c("municip1613","municip5012","municip5059")]
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/data_norway_municip_merging.r:150:41:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L150) *style:* **Put spaces around all infix operators.**
```r
  merger <- unique(skeleton[municip_code!=municip_code_end,c("municip_code","municip_code_end","weighting")])
                                       ~^~~
```
[R/data_norway_municip_merging.r:150:60:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L150) *style:* **Commas should always have a space after.**
```r
  merger <- unique(skeleton[municip_code!=municip_code_end,c("municip_code","municip_code_end","weighting")])
                                                           ^
```
[R/data_norway_municip_merging.r:150:77:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L150) *style:* **Commas should always have a space after.**
```r
  merger <- unique(skeleton[municip_code!=municip_code_end,c("municip_code","municip_code_end","weighting")])
                                                                            ^
```
[R/data_norway_municip_merging.r:150:96:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L150) *style:* **Commas should always have a space after.**
```r
  merger <- unique(skeleton[municip_code!=municip_code_end,c("municip_code","municip_code_end","weighting")])
                                                                                ^
```
[R/data_norway_municip_merging.r:163:11:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L163) *style:* **Put spaces around all infix operators.**
```r
      by.x=c("municip_code_end"),
         ~^~
```
[R/data_norway_municip_merging.r:164:11:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L164) *style:* **Put spaces around all infix operators.**
```r
      by.y=c("municip_code"),
         ~^~
```
[R/data_norway_municip_merging.r:165:12:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L165) *style:* **Put spaces around all infix operators.**
```r
      all.x=T
          ~^~
```
[R/data_norway_municip_merging.r:171:60:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L171) *style:* **Put spaces around all infix operators.**
```r
    skeleton[!is.na(municip_code_end_new), municip_code_end:=municip_code_end_new]
                                                          ~^~~
```
[R/data_norway_municip_merging.r:172:46:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L172) *style:* **Put spaces around all infix operators.**
```r
    skeleton[!is.na(weighting_new), weighting:=weighting*weighting_new]
                                            ~^~~
```
[R/data_norway_municip_merging.r:172:57:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L172) *style:* **Put spaces around all infix operators.**
```r
    skeleton[!is.na(weighting_new), weighting:=weighting*weighting_new]
                                                       ~^~
```
[R/data_norway_municip_merging.r:173:15:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L173) *style:* **Commas should always have a space after.**
```r
    skeleton[,municip_code_end_new:=NULL]
              ^
```
[R/data_norway_municip_merging.r:173:35:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L173) *style:* **Put spaces around all infix operators.**
```r
    skeleton[,municip_code_end_new:=NULL]
                                 ~^~~
```
[R/data_norway_municip_merging.r:174:15:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L174) *style:* **Commas should always have a space after.**
```r
    skeleton[,weighting_new:=NULL]
              ^
```
[R/data_norway_municip_merging.r:174:28:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L174) *style:* **Put spaces around all infix operators.**
```r
    skeleton[,weighting_new:=NULL]
                          ~^~~
```
[R/data_norway_municip_merging.r:177:3:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L177) *style:* **Variable and function name style should be snake_case.**
```r
  skeletonFinal <- unique(skeleton[year == max(year),c(
  ^~~~~~~~~~~~~
```
[R/data_norway_municip_merging.r:177:54:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L177) *style:* **Commas should always have a space after.**
```r
  skeletonFinal <- unique(skeleton[year == max(year),c(
                                                     ^
```
[R/data_norway_municip_merging.r:186:13:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L186) *style:* **Commas should always have a space after.**
```r
  skeleton[,year_end:=NULL]
            ^
```
[R/data_norway_municip_merging.r:186:21:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L186) *style:* **Put spaces around all infix operators.**
```r
  skeleton[,year_end:=NULL]
                   ~^~~
```
[R/data_norway_municip_merging.r:187:13:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L187) *style:* **Commas should always have a space after.**
```r
  skeleton[,municip_name:=NULL]
            ^
```
[R/data_norway_municip_merging.r:187:25:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L187) *style:* **Put spaces around all infix operators.**
```r
  skeleton[,municip_name:=NULL]
                       ~^~~
```
[R/data_norway_municip_merging.r:188:13:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L188) *style:* **Commas should always have a space after.**
```r
  skeleton[,county_code:=NULL]
            ^
```
[R/data_norway_municip_merging.r:188:24:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L188) *style:* **Put spaces around all infix operators.**
```r
  skeleton[,county_code:=NULL]
                      ~^~~
```
[R/data_norway_municip_merging.r:189:13:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L189) *style:* **Commas should always have a space after.**
```r
  skeleton[,county_name:=NULL]
            ^
```
[R/data_norway_municip_merging.r:189:24:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L189) *style:* **Put spaces around all infix operators.**
```r
  skeleton[,county_name:=NULL]
                      ~^~~
```
[R/data_norway_municip_merging.r:190:13:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L190) *style:* **Commas should always have a space after.**
```r
  skeleton[,region_code:=NULL]
            ^
```
[R/data_norway_municip_merging.r:190:24:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L190) *style:* **Put spaces around all infix operators.**
```r
  skeleton[,region_code:=NULL]
                      ~^~~
```
[R/data_norway_municip_merging.r:191:13:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L191) *style:* **Commas should always have a space after.**
```r
  skeleton[,region_name:=NULL]
            ^
```
[R/data_norway_municip_merging.r:191:24:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L191) *style:* **Put spaces around all infix operators.**
```r
  skeleton[,region_name:=NULL]
                      ~^~~
```
[R/data_norway_municip_merging.r:196:9:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L196) *style:* **Put spaces around all infix operators.**
```r
    by.x=c("municip_code_end"),
       ~^~
```
[R/data_norway_municip_merging.r:197:9:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L197) *style:* **Put spaces around all infix operators.**
```r
    by.y=c("municip_code")
       ~^~
```
[R/data_norway_municip_merging.r:220:1:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L220) *style:* **Variable and function names should not be longer than 30 characters.**
```r
gen_norway_fixing_merged_municips <- function(x_year_end){
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/data_norway_municip_merging.r:220:57:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L220) *style:* **There should be a space between right parenthesis and an opening curly brace.**
```r
gen_norway_fixing_merged_municips <- function(x_year_end){
                                                        ^~
```
[R/data_norway_municip_merging.r:226:26:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L226) *style:* **Put spaces around all infix operators.**
```r
  plan <- plan[border_end>=border_start]
                        ~^~~
```
[R/data_norway_municip_merging.r:228:34:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L228) *style:* **Put spaces around all infix operators.**
```r
  retval <- vector("list", length=nrow(plan))
                                ~^~
```
[R/data_norway_municip_merging.r:229:6:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L229) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  for(i in seq_along(retval)){
     ^
```
[R/data_norway_municip_merging.r:229:29:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L229) *style:* **There should be a space between right parenthesis and an opening curly brace.**
```r
  for(i in seq_along(retval)){
                            ^~
```
[R/data_norway_municip_merging.r:232:11:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L232) *style:* **Commas should always have a space after.**
```r
    temp[,border_start := plan$border_start[i]]
          ^
```
[R/data_norway_municip_merging.r:233:11:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L233) *style:* **Commas should always have a space after.**
```r
    temp[,border_end := plan$border_end[i]]
          ^
```
[R/data_norway_municip_merging.r:237:7:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L237) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(length(past_years)>0) for(j in past_years) {
      ^
```
[R/data_norway_municip_merging.r:237:26:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L237) *style:* **Put spaces around all infix operators.**
```r
    if(length(past_years)>0) for(j in past_years) {
                        ~^~
```
[R/data_norway_municip_merging.r:237:33:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L237) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(length(past_years)>0) for(j in past_years) {
                                ^
```
[R/data_norway_municip_merging.r:238:30:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L238) *style:* **Put spaces around all infix operators.**
```r
      temp1 <- copy(temp[year==min(year)])
                            ~^~~
```
[R/data_norway_municip_merging.r:239:14:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L239) *style:* **Commas should always have a space after.**
```r
      temp1[,year:=year-1]
             ^
```
[R/data_norway_municip_merging.r:239:18:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L239) *style:* **Put spaces around all infix operators.**
```r
      temp1[,year:=year-1]
                ~^~~
```
[R/data_norway_municip_merging.r:239:24:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L239) *style:* **Put spaces around all infix operators.**
```r
      temp1[,year:=year-1]
                      ~^~
```
[R/data_norway_municip_merging.r:240:26:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L240) *style:* **Commas should always have a space after.**
```r
      temp <- rbind(temp,temp1)
                         ^
```
[R/data_norway_municip_merging.r:266:3:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L266) *style:* **Variable and function name style should be snake_case.**
```r
  realEnd <- NULL
  ^~~~~~~
```
[R/data_norway_municip_merging.r:272:67:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L272) *style:* **Put spaces around all infix operators.**
```r
  pops0 <- gen_norway_population(x_year_end = x_year_end, original=TRUE)
                                                                 ~^~
```
[R/data_norway_municip_merging.r:273:25:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L273) *style:* **Put spaces around all infix operators.**
```r
  pops0 <- pops0[imputed==FALSE,.(pop=sum(pop)),keyby=.(municip_code,year)]
                       ~^~~
```
[R/data_norway_municip_merging.r:273:33:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L273) *style:* **Commas should always have a space after.**
```r
  pops0 <- pops0[imputed==FALSE,.(pop=sum(pop)),keyby=.(municip_code,year)]
                                ^
```
[R/data_norway_municip_merging.r:273:38:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L273) *style:* **Put spaces around all infix operators.**
```r
  pops0 <- pops0[imputed==FALSE,.(pop=sum(pop)),keyby=.(municip_code,year)]
                                    ~^~
```
[R/data_norway_municip_merging.r:273:49:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L273) *style:* **Commas should always have a space after.**
```r
  pops0 <- pops0[imputed==FALSE,.(pop=sum(pop)),keyby=.(municip_code,year)]
                                                ^
```
[R/data_norway_municip_merging.r:273:54:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L273) *style:* **Put spaces around all infix operators.**
```r
  pops0 <- pops0[imputed==FALSE,.(pop=sum(pop)),keyby=.(municip_code,year)]
                                                    ~^~
```
[R/data_norway_municip_merging.r:273:70:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L273) *style:* **Commas should always have a space after.**
```r
  pops0 <- pops0[imputed==FALSE,.(pop=sum(pop)),keyby=.(municip_code,year)]
                                                                     ^
```
[R/data_norway_municip_merging.r:276:25:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L276) *style:* **Put spaces around all infix operators.**
```r
  pops1 <- pops1[imputed==TRUE & level=="municipality",.(pop=sum(pop)),keyby=.(municip_code=location_code,year)]
                       ~^~~
```
[R/data_norway_municip_merging.r:276:39:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L276) *style:* **Put spaces around all infix operators.**
```r
  pops1 <- pops1[imputed==TRUE & level=="municipality",.(pop=sum(pop)),keyby=.(municip_code=location_code,year)]
                                     ~^~~
```
[R/data_norway_municip_merging.r:276:56:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L276) *style:* **Commas should always have a space after.**
```r
  pops1 <- pops1[imputed==TRUE & level=="municipality",.(pop=sum(pop)),keyby=.(municip_code=location_code,year)]
                                                       ^
```
[R/data_norway_municip_merging.r:276:61:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L276) *style:* **Put spaces around all infix operators.**
```r
  pops1 <- pops1[imputed==TRUE & level=="municipality",.(pop=sum(pop)),keyby=.(municip_code=location_code,year)]
                                                           ~^~
```
[R/data_norway_municip_merging.r:276:72:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L276) *style:* **Commas should always have a space after.**
```r
  pops1 <- pops1[imputed==TRUE & level=="municipality",.(pop=sum(pop)),keyby=.(municip_code=location_code,year)]
                                                                       ^
```
[R/data_norway_municip_merging.r:276:77:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L276) *style:* **Put spaces around all infix operators.**
```r
  pops1 <- pops1[imputed==TRUE & level=="municipality",.(pop=sum(pop)),keyby=.(municip_code=location_code,year)]
                                                                           ~^~
```
[R/data_norway_municip_merging.r:276:92:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L276) *style:* **Put spaces around all infix operators.**
```r
  pops1 <- pops1[imputed==TRUE & level=="municipality",.(pop=sum(pop)),keyby=.(municip_code=location_code,year)]
                                                                                ~^~
```
[R/data_norway_municip_merging.r:276:107:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L276) *style:* **Commas should always have a space after.**
```r
  pops1 <- pops1[imputed==TRUE & level=="municipality",.(pop=sum(pop)),keyby=.(municip_code=location_code,year)]
                                                                                ^
```
[R/data_norway_municip_merging.r:278:23:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L278) *style:* **Commas should always have a space after.**
```r
  pops <- rbind(pops0,pops1)
                      ^
```
[R/data_norway_municip_merging.r:283:9:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L283) *style:* **Put spaces around all infix operators.**
```r
    by.x=c("municip_code_original","year"),
       ~^~
```
[R/data_norway_municip_merging.r:283:36:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L283) *style:* **Commas should always have a space after.**
```r
    by.x=c("municip_code_original","year"),
                                   ^
```
[R/data_norway_municip_merging.r:284:9:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L284) *style:* **Put spaces around all infix operators.**
```r
    by.y=c("municip_code","year"),
       ~^~
```
[R/data_norway_municip_merging.r:284:27:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L284) *style:* **Commas should always have a space after.**
```r
    by.y=c("municip_code","year"),
                          ^
```
[R/data_norway_municip_merging.r:286:6:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L286) *style:* **Commas should always have a space after.**
```r
  x[,county_code_original:=stringr::str_sub(municip_code_original,1,9)]
     ^
```
[R/data_norway_municip_merging.r:286:26:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L286) *style:* **Put spaces around all infix operators.**
```r
  x[,county_code_original:=stringr::str_sub(municip_code_original,1,9)]
                        ~^~~
```
[R/data_norway_municip_merging.r:286:67:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L286) *style:* **Commas should always have a space after.**
```r
  x[,county_code_original:=stringr::str_sub(municip_code_original,1,9)]
                                                                  ^
```
[R/data_norway_municip_merging.r:286:69:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L286) *style:* **Commas should always have a space after.**
```r
  x[,county_code_original:=stringr::str_sub(municip_code_original,1,9)]
                                                                    ^
```
[R/data_norway_municip_merging.r:287:6:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L287) *style:* **Commas should always have a space after.**
```r
  x[,county_code_current:=stringr::str_sub(municip_code_current,1,9)]
     ^
```
[R/data_norway_municip_merging.r:287:25:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L287) *style:* **Put spaces around all infix operators.**
```r
  x[,county_code_current:=stringr::str_sub(municip_code_current,1,9)]
                       ~^~~
```
[R/data_norway_municip_merging.r:287:65:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L287) *style:* **Commas should always have a space after.**
```r
  x[,county_code_current:=stringr::str_sub(municip_code_current,1,9)]
                                                                ^
```
[R/data_norway_municip_merging.r:287:67:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L287) *style:* **Commas should always have a space after.**
```r
  x[,county_code_current:=stringr::str_sub(municip_code_current,1,9)]
                                                                  ^
```
[R/data_norway_municip_merging.r:289:6:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L289) *style:* **Commas should always have a space after.**
```r
  x[,county_code_original:=stringr::str_replace(county_code_original,"municip","county")]
     ^
```
[R/data_norway_municip_merging.r:289:26:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L289) *style:* **Put spaces around all infix operators.**
```r
  x[,county_code_original:=stringr::str_replace(county_code_original,"municip","county")]
                        ~^~~
```
[R/data_norway_municip_merging.r:289:70:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L289) *style:* **Commas should always have a space after.**
```r
  x[,county_code_original:=stringr::str_replace(county_code_original,"municip","county")]
                                                                     ^
```
[R/data_norway_municip_merging.r:289:80:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L289) *style:* **Commas should always have a space after.**
```r
  x[,county_code_original:=stringr::str_replace(county_code_original,"municip","county")]
                                                                               ^
```
[R/data_norway_municip_merging.r:290:6:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L290) *style:* **Commas should always have a space after.**
```r
  x[,county_code_current:=stringr::str_replace(county_code_current,"municip","county")]
     ^
```
[R/data_norway_municip_merging.r:290:25:](https://github.com/folkehelseinstituttet/fhidata/blob/2e078b91acf1843f75ea2345144bea46510f0300/R/data_norway_municip_merging.r#L290) *style:* **Put spaces around all infix operators.**
```r
  x[,county_code_current:=stringr::str_replace(county_code_current,"municip","county")]
                       ~^~~
```


That's a good idea actually. Either printing it into the ingame log, or via float and FLOAT_MSG_WARNING directly in the center of the screen. :p This tells you what happens, without kicking you out of the game.


Not required.


Successfully deployed to following URLs:

* https://nuxt-typescript-vuetify-ngfyq56kl.now.sh
* https://nuxt-typescript-vuetify.justhannes.now.sh
* https://nuxt-typescript-vuetify-git-master.justhannes.now.sh


Failed to alias the deployment: Deployment not found.

[Click here](https://zeit.co/dimua777/blog-with-netlify/p9wlmuvzs) to access the non-aliased deployment.


Yes, there's a bug, although in this case the problem is at least fixable upstream: `lix +lib react-next` in `react-native`, so that the `tink_hxx` dependency is properly added.


because you added 2 chars.
one more thing, in your code cast to char isn't necessary


@solpahi You may wish to play around with the sizes defined in <https://github.com/toaq/TwE/blob/gh-pages/index.html#L30>. `vmin` stands for ‘% of viewport width or height, whichever is smaller’, and the values in `px` are fallback values for devices which don't support `vmin`. (They should be in proportion, of course.)


noob