diff --git a/apple-touch-icon-120x120.png b/apple-touch-icon-120x120.png index 232c0ed..637fa5c 100644 Binary files a/apple-touch-icon-120x120.png and b/apple-touch-icon-120x120.png differ diff --git a/apple-touch-icon-152x152.png b/apple-touch-icon-152x152.png index 1d8568c..6996d46 100644 Binary files a/apple-touch-icon-152x152.png and b/apple-touch-icon-152x152.png differ diff --git a/apple-touch-icon-180x180.png b/apple-touch-icon-180x180.png index 039f85b..58cc483 100644 Binary files a/apple-touch-icon-180x180.png and b/apple-touch-icon-180x180.png differ diff --git a/apple-touch-icon-60x60.png b/apple-touch-icon-60x60.png index 183b59c..4d4ee06 100644 Binary files a/apple-touch-icon-60x60.png and b/apple-touch-icon-60x60.png differ diff --git a/apple-touch-icon-76x76.png b/apple-touch-icon-76x76.png index 9c92db5..614ec34 100644 Binary files a/apple-touch-icon-76x76.png and b/apple-touch-icon-76x76.png differ diff --git a/apple-touch-icon.png b/apple-touch-icon.png index cc005eb..80af170 100644 Binary files a/apple-touch-icon.png and b/apple-touch-icon.png differ diff --git a/articles/sorvi_tutorial.html b/articles/sorvi_tutorial.html index 2d18338..bb31b16 100644 --- a/articles/sorvi_tutorial.html +++ b/articles/sorvi_tutorial.html @@ -188,7 +188,7 @@
@Misc{, title = {sorvi: Finnish open government data toolkit for R}, author = {Leo Lahti and Juuso Parkkinen and Joona Lehtomaki and Juuso Haapanen and Einari Happonen and Jussi Paananen and Pyry Kantanen}, - doi = {10.5281/zenodo.10280}, + doi = {10.5281/zenodo.598121}, url = {https://github.com/rOpenGov/sorvi}, year = {2023}, note = {R package version 0.8.21}, diff --git a/favicon-16x16.png b/favicon-16x16.png index 82deab6..84f0910 100644 Binary files a/favicon-16x16.png and b/favicon-16x16.png differ diff --git a/favicon-32x32.png b/favicon-32x32.png index 196a108..f92e2ce 100644 Binary files a/favicon-32x32.png and b/favicon-32x32.png differ diff --git a/index.html b/index.html index c914b6f..611e49c 100644 --- a/index.html +++ b/index.html @@ -150,7 +150,8 @@Contributing
Acknowledgements
-Kindly cite this work as follows: Leo Lahti, Juuso Parkkinen, Joona Lehtomäki, Pyry Kantanen. sorvi - Finnish Open Data Toolkit. URL: http://ropengov.github.io/sorvi/
+Kindly cite this work as follows:
+Leo Lahti, Juuso Parkkinen, Joona Lehtomaki and Pyry Kantanen (2023). sorvi: Finnish open data toolkit for R. R package version 0.8.21. URL: https://github.com/rOpenGov/sorvi
We are grateful to Jussi Paananen, Einari Happonen, Juuso Haapanen, and all other contributors! This project is part of rOpenGov.
diff --git a/pkgdown.yml b/pkgdown.yml index c21cd2e..faf082a 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -4,7 +4,7 @@ pkgdown_sha: ~ articles: finnish-historical-maps: finnish-historical-maps.html sorvi_tutorial: sorvi_tutorial.html -last_built: 2023-08-21T13:50Z +last_built: 2023-08-21T18:13Z urls: reference: https://ropengov.github.io/sorvi/reference article: https://ropengov.github.io/sorvi/articles diff --git a/reference/figures/README-example_visualize-1.png b/reference/figures/README-example_visualize-1.png index 5f5f171..cf11e1c 100644 Binary files a/reference/figures/README-example_visualize-1.png and b/reference/figures/README-example_visualize-1.png differ diff --git a/search.json b/search.json index 5414f21..ddec446 100644 --- a/search.json +++ b/search.json @@ -1 +1 @@ -[{"path":[]},{"path":"https://ropengov.github.io/sorvi/articles/finnish-historical-maps.html","id":"introduction","dir":"Articles","previous_headings":"Finnish historical maps with sorvi","what":"Introduction","title":"Finnish historical maps with sorvi R package","text":"Accessing high-quality shapefiles vectorized geospatial location boundaries different administrative divisions nowadays trivial datasets readily available download services APIs. Packages geofi/ giscoR make easy draw maps case Finland European NUTS areas visualize statistical data form choropleth maps. However, comes historical boundaries Finnish municipality boundaries year 2013, drawing maps becomes harder. example, National Land Survey Finland offers municipality-based boundaries current year Statistics Finland offers maps 2013 onwards. 2005 2022 , Finnish municipalities undergone 79 merger processes number falling 431 309, approximately one-fourth. time series data municipality mergers taken account Statistics Authorities, making possible see current municipalities parts combined developed past. cases, Statistics Finland uses current municipality division basis population statistics time series.","code":""},{"path":"https://ropengov.github.io/sorvi/articles/finnish-historical-maps.html","id":"previous-work","dir":"Articles","previous_headings":"Finnish historical maps with sorvi","what":"Previous work","title":"Finnish historical maps with sorvi R package","text":"2003-2012 FinnONTO project driven Semantic Computing Research Group (SeCo) started ambition laying foundations “national metadata, ontology, ontology service, linked data framework Finland”. part project National Ontology Service ONKI published 2008, used publish “interlinked, collaboratively created ontologies vocabularies centralized way, 150 organizations registered users. part FinnONTO project, Finnish Spatio-Temporal Ontology (SAPO) created. SAPO “ontology time series Finnish municipalities time interval 1865-2010” ontology, “represents knowledge changes (e.g. merges, splits) historical regions (e.g. cities, counties)”. types changes include (Väätäinen & Kauppinen 2015, Finnish terms parentheses): establishing completely new municipality (perustaminen); abolishing municipality (lakkauttaminen); splitting one municipality two municipalities (jakaantuminen); merging two municipalities single municipality (yhdistyminen); changing ownership part municipality another (aluesiirto); changing name municipality (nimenmuutos); ceding municipality part municipality another sovereign state, effectively abolishing municipality entity original country (alueluovutus); integrating (opposite ceding territory) municipality another sovereign state, effectively meaning new administrative area must established receiving country (aluesaaminen); establishing new administrative area parts two areas (aluesiirtoperustaminen); dividing existing administrative area two existing administrative areas (aluesiirtojakaantuminen); renting certain area use another sovereign state (aluevuokraus); ending rental period land area returning sovereign rule (aluevuokrauksen loppuminen); formation, case administrative areas (settlements) gradually started exist without specific founding date (muodostuminen); demarcation, areas divided two neighbouring administrative areas didn’t previously clearly defined borders (rajanveto). practice, Finnish municipalities set establishment date. municipalities established 1865 Imperial Majesty’s Degree Municipal Administration Countryside (information Wikipedia (Finnish), degree AsK 4/1865 text Wikisource (Finnish)), moved secular administration away church parishes newly established municipalities. Many municipalities also changed names point, split merged, border changes neighbouring municipalities. Ceding abolishing municipalities mostly related situation Second World War many Finnish municipalities Karelia ceded Soviet Union. Since 2008, ONKI superseded Finto, although contain data ONKI . used data files (RDF/Turtle files) downloaded ONKI starting point created datasets feel natural R user use, using rdflib R package.","code":""},{"path":"https://ropengov.github.io/sorvi/articles/finnish-historical-maps.html","id":"drawing-historical-maps","dir":"Articles","previous_headings":"Finnish historical maps with sorvi","what":"Drawing historical maps","title":"Finnish historical maps with sorvi R package","text":"Historical maps can drawn simply using get_municipalities() function. municipalities can plotted base R functions ggplot2. interesting mapping examples, recommend readers acquaintance e.g. geofi packages articles making maps, joining attribute data geospatial objects spatial data analysis. sorvi::kunnat1865_2021 dataset sorvi consists sf objects analogous recent objects downloaded geofi package.","code":"library(sorvi) #> sorvi - Tools for Finnish Open Data. #> Copyright (C) 2010-2023 Leo Lahti, Juuso Parkkinen, Joona Lehtomaki and Pyry Kantanen #> #> http://github.com/ropengov/sorvi #> #> Hard sciences are successful because they deal with soft problems; #> soft sciences are struggling because they deal with hard problems. #> - Von Foerster x <- get_municipalities(year = 1912) head(x) #> Simple feature collection with 6 features and 8 fields #> Geometry type: POLYGON #> Dimension: XY #> Bounding box: xmin: 20.88007 ymin: 60.87673 xmax: 24.76896 ymax: 66.30193 #> Geodetic CRS: ISN93 #> # A tibble: 6 × 9 #> # Groups: kunta_nro [6] #> x kunta_nro kunta_name_fi kunta_name_sv startyear endyear area #>#> 1 http://www.yso.… 001 Ahlainen Ahlainen 1908 1971 185 #> 2 http://www.yso.… 003 Akaa Akaa 1895 1931 131 #> 3 http://www.yso.… 004 Alahärmä Alahärmä 1867 2008 351. #> 4 http://www.yso.… 005 Alajärvi Alajärvi 1868 2008 737. #> 5 http://www.yso.… 006 Alastaro Alastaro 1869 2008 257. #> 6 http://www.yso.… 007 Alatornio Nedertorneå 1865 1956 868 #> # ℹ 2 more variables: muutos_tyyppi , geometry plot(x) library(ggplot2) ggplot(x) + geom_sf()"},{"path":"https://ropengov.github.io/sorvi/articles/finnish-historical-maps.html","id":"future-work","dir":"Articles","previous_headings":"Finnish historical maps with sorvi","what":"Future work","title":"Finnish historical maps with sorvi R package","text":"can seen visualizations , gaps data. example, dataset metadata year 1912 shows 49 empty geometries: addition, inconsistencies geometries compared newer datasets downloaded National Land Survey Finland / Statistics Finland API. example, municipalities surrounded rural municipalities (“maalaiskunta”) can sometimes left rural municipality polygon rural municipality polygon simplified holes. Similarly, municipality enclaves exclaves might properly represented borders municipalities rather simplified. However, must noted small-scale information like essential drawing choropleth maps visualizing broad strokes municipality administration development Finland. Additionally, access historical maps mean much else done without access type data. Statistics Finland published data Finnish population 1750 onwards statistical database can accessed e.g. pxweb R package, regrettably, data national level. Publications Suomen Tilastollinen Vuosikirja (Finnish Statistical Yearbook, example 1918) might interesting sources information someone time resources digitize tables . Utilizing HisKi database contains digitized parish record data also interesting, although oldest parish records much older oldest municipalities. prompt need map parish district borders well-defined borders ever existed. therefore evident much work still done. Users welcome fill data gaps provide better polygons! Opening issue GitHub directly making pull request much appreciated. Suggestions regarding best possible practices solutions data metadata storage also welcome.","code":"Simple feature collection with 520 features and 8 fields (with 49 geometries empty) Geometry type: GEOMETRY Dimension: XY Bounding box: xmin: 19.08318 ymin: 59.45416 xmax: 32.019 ymax: 70.09204 Geodetic CRS: ISN93 # A tibble: 520 × 9 # Groups: kunta_nro [520]"},{"path":"https://ropengov.github.io/sorvi/articles/finnish-historical-maps.html","id":"attribution","dir":"Articles","previous_headings":"Finnish historical maps with sorvi","what":"Attribution","title":"Finnish historical maps with sorvi R package","text":"Raw data downloaded ONKI.fi website 04 Aug 2022: http://onki.fi/en/browser/overview/sapo Data attribution: FinnONTO Consortium: https://seco.cs.aalto.fi/projects/finnonto/","code":""},{"path":"https://ropengov.github.io/sorvi/articles/finnish-historical-maps.html","id":"references","dir":"Articles","previous_headings":"Finnish historical maps with sorvi","what":"References","title":"Finnish historical maps with sorvi R package","text":"Kauppinen, Tomi & Väätäinen, Jari. 2015. SAPOn nykytila, ylläpito ja laajennusmahdollisuudet. Raportteja ja selvityksiä 1/2015, Kansalliskirjasto. URN: https://urn.fi/URN:ISBN:978-951-51-1422-8 Tilastokeskus. 1999. Väestötilastoja 250 vuotta: Katsaus väestötilaston historiaan vuosina 1749–1999. Väestö 1999:8, SVT. URN: https://urn.fi/URN:NBN:fi-fe2023013112911","code":""},{"path":[]},{"path":"https://ropengov.github.io/sorvi/articles/sorvi_tutorial.html","id":"introduction","dir":"Articles","previous_headings":"Finnish open (government) data toolkit for R","what":"Introduction","title":"sorvi Tutorial","text":"sorvi package originally intended hosting various algorithms Finnish open goverment data R. superseded later rOpenGov packages specialized scope (geofi, hetu pxweb), sorvi now found new life hosting various functions helpful rOpenGov package maintenance, authoring preparing presentations.","code":""},{"path":"https://ropengov.github.io/sorvi/articles/sorvi_tutorial.html","id":"installation","dir":"Articles","previous_headings":"Finnish open (government) data toolkit for R","what":"Installation","title":"sorvi Tutorial","text":"Install stable release version CRAN R: Alternatively, use remotes package install latest development version GitHub: Loading package R command line:","code":"install.packages(\"sorvi\") library(remotes) remotes::install_github(\"ropengov/sorvi\") library(sorvi)"},{"path":"https://ropengov.github.io/sorvi/articles/sorvi_tutorial.html","id":"using-the-package","dir":"Articles","previous_headings":"Finnish open (government) data toolkit for R","what":"Using the package","title":"sorvi Tutorial","text":"number functions package reduced compared older versions. Get download statistics eurostat-package, year: Get download statistics various rOpenGov packages time draw chart:","code":"df <- cran_downloads(pkgs = \"eurostat\", sum = \"by_year\", use.cache = FALSE) df packages <- c(\"eurostat\", \"giscoR\", \"sotkanet\", \"geofi\", \"sweidnumbr\") plot <- cran_downloads(pkgs = packages, sum = \"total\", output = \"plot\", use.cache = FALSE) plot"},{"path":"https://ropengov.github.io/sorvi/articles/sorvi_tutorial.html","id":"historical-mapping-and-data-sets","dir":"Articles","previous_headings":"Finnish open (government) data toolkit for R","what":"Historical mapping and data sets","title":"sorvi Tutorial","text":"sorvi package includes 2 datasets: sorvi::kunnat1865_2021 listing municipalities existed years 1865-2021, sorvi::polygons1909_2009 contains polygons municipalities contained former dataset. Despite slightly misleading name, polygons dataset contains shapes municipalities 1800s well, municipalities borders remained relatively unchanged 2nd World War late 1900s-early 2000s municipality mergers. users definitely can use datasets directly work (improvements / additions / forks welcome!), included get_municipalities() function conveniently returning map Finland existed certain point time. simple example using get_municipalities() function drawing map containing Finnish municipalities 1931: See sorvi article Finnish historical maps sorvi R package information examples.","code":"library(ggplot2) map1931 <- get_municipalities(year = 1931) ggplot(map1931) + geom_sf()"},{"path":"https://ropengov.github.io/sorvi/articles/sorvi_tutorial.html","id":"licensing-and-citations","dir":"Articles","previous_headings":"Finnish open (government) data toolkit for R","what":"Licensing and Citations","title":"sorvi Tutorial","text":"work can freely used, modified distributed Two-clause BSD license. data attribution, see dataset documentation.","code":"citation(\"sorvi\") #> Kindly cite the sorvi R package as follows: #> #> Leo Lahti, Juuso Parkkinen, Joona Lehtomaki, Juuso Haapanen, Einari #> Happonen, Jussi Paananen and Pyry Kantanen (2023). sorvi: Finnish #> open data toolkit for R. R package version 0.8.21 URL: #> https://github.com/rOpenGov/sorvi #> #> A BibTeX entry for LaTeX users is #> #> @Misc{, #> title = {sorvi: Finnish open government data toolkit for R}, #> author = {Leo Lahti and Juuso Parkkinen and Joona Lehtomaki and Juuso Haapanen and Einari Happonen and Jussi Paananen and Pyry Kantanen}, #> doi = {10.5281/zenodo.10280}, #> url = {https://github.com/rOpenGov/sorvi}, #> year = {2023}, #> note = {R package version 0.8.21}, #> } #> #> Many thanks for all contributors!"},{"path":"https://ropengov.github.io/sorvi/articles/sorvi_tutorial.html","id":"session-info","dir":"Articles","previous_headings":"Finnish open (government) data toolkit for R","what":"Session info","title":"sorvi Tutorial","text":"vignette created call statistician experiment done may asking perform post-mortem examination: may able say experiment died . ~ Sir Ronald Aylmer Fisher","code":"sessionInfo() #> R version 4.3.1 (2023-06-16) #> Platform: x86_64-pc-linux-gnu (64-bit) #> Running under: Ubuntu 22.04.3 LTS #> #> Matrix products: default #> BLAS: /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3 #> LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.20.so; LAPACK version 3.10.0 #> #> locale: #> [1] LC_CTYPE=C.UTF-8 LC_NUMERIC=C LC_TIME=C.UTF-8 #> [4] LC_COLLATE=C.UTF-8 LC_MONETARY=C.UTF-8 LC_MESSAGES=C.UTF-8 #> [7] LC_PAPER=C.UTF-8 LC_NAME=C LC_ADDRESS=C #> [10] LC_TELEPHONE=C LC_MEASUREMENT=C.UTF-8 LC_IDENTIFICATION=C #> #> time zone: UTC #> tzcode source: system (glibc) #> #> attached base packages: #> [1] stats graphics grDevices utils datasets methods base #> #> other attached packages: #> [1] ggplot2_3.4.3 sorvi_0.8.21 #> #> loaded via a namespace (and not attached): #> [1] tidyr_1.3.0 sass_0.4.7 utf8_1.2.3 generics_0.1.3 #> [5] class_7.3-22 xml2_1.3.5 KernSmooth_2.23-21 stringi_1.7.12 #> [9] digest_0.6.33 magrittr_2.0.3 evaluate_0.21 grid_4.3.1 #> [13] timechange_0.2.0 RColorBrewer_1.1-3 fastmap_1.1.1 rprojroot_2.0.3 #> [17] jsonlite_1.8.7 e1071_1.7-13 backports_1.4.1 DBI_1.1.3 #> [21] httr_1.4.7 rvest_1.0.3 purrr_1.0.2 fansi_1.0.4 #> [25] scales_1.2.1 textshaping_0.3.6 jquerylib_0.1.4 cli_3.6.1 #> [29] rlang_1.1.1 units_0.8-3 munsell_0.5.0 withr_2.5.0 #> [33] cachem_1.0.8 yaml_2.3.7 tools_4.3.1 memoise_2.0.1 #> [37] checkmate_2.2.0 dplyr_1.1.2 colorspace_2.1-0 vctrs_0.6.3 #> [41] R6_2.5.1 proxy_0.4-27 classInt_0.4-9 lifecycle_1.0.3 #> [45] lubridate_1.9.2 stringr_1.5.0 fs_1.6.3 ragg_1.2.5 #> [49] pkgconfig_2.0.3 desc_1.4.2 pkgdown_2.0.7 bslib_0.5.1 #> [53] pillar_1.9.0 gtable_0.3.3 Rcpp_1.0.11 glue_1.6.2 #> [57] gh_1.4.0 sf_1.0-14 systemfonts_1.0.4 highr_0.10 #> [61] xfun_0.40 tibble_3.2.1 tidyselect_1.2.0 knitr_1.43 #> [65] farver_2.1.1 htmltools_0.5.6 rmarkdown_2.24 dlstats_0.1.7 #> [69] compiler_4.3.1"},{"path":"https://ropengov.github.io/sorvi/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Leo Lahti. Author, maintainer. Juuso Parkkinen. Author. Joona Lehtomaki. Author. Pyry Kantanen. Author.","code":""},{"path":"https://ropengov.github.io/sorvi/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Leo Lahti, Juuso Parkkinen, Joona Lehtomaki, Juuso Haapanen, Einari Happonen, Jussi Paananen Pyry Kantanen (2023). sorvi: Finnish open data toolkit R. R package version 0.8.21 URL: https://github.com/rOpenGov/sorvi","code":"@Misc{, title = {sorvi: Finnish open government data toolkit for R}, author = {Leo Lahti and Juuso Parkkinen and Joona Lehtomaki and Juuso Haapanen and Einari Happonen and Jussi Paananen and Pyry Kantanen}, doi = {10.5281/zenodo.10280}, url = {https://github.com/rOpenGov/sorvi}, year = {2023}, note = {R package version 0.8.21}, }"},{"path":"https://ropengov.github.io/sorvi/index.html","id":"sorvi","dir":"","previous_headings":"","what":"Functions for Finnish Open Data","title":"Functions for Finnish Open Data","text":"sorvi package originally intended hosting various algorithms Finnish open goverment data R. superseded later rOpenGov packages specialized scope (geofi, hetu pxweb), sorvi now found new life hosting various functions helpful rOpenGov package maintenance, authoring preparing presentations. Originally rOpenGov/sorvi fork juusohaapanen/soRvi-dev rOpenGov’s sorvi branch since taken life . fork detached fron juusohaapanen’s branch November 2021.","code":""},{"path":"https://ropengov.github.io/sorvi/index.html","id":"installation","dir":"","previous_headings":"","what":"Installation","title":"Functions for Finnish Open Data","text":"can install development version sorvi GitHub : Development version can also installed using r-universe: still CRAN release version sorvi passes CRAN checks without problems contains mostly outdated functions. therefore highly recommended use development version package.","code":"# install.packages(\"remotes\") remotes::install_github(\"rOpenGov/sorvi\") # Enable this universe options(repos = c( ropengov = \"https://ropengov.r-universe.dev\", CRAN = \"https://cloud.r-project.org\" )) install.packages(\"sorvi\")"},{"path":"https://ropengov.github.io/sorvi/index.html","id":"using-the-package","dir":"","previous_headings":"","what":"Using the package","title":"Functions for Finnish Open Data","text":"Loading package R: Get download statistics eurostat-package, year: Get download statistics various rOpenGov packages time draw chart: examples, check package vignette.","code":"library(sorvi) df <- cran_downloads(pkgs = \"eurostat\", sum = \"by_year\", use.cache = FALSE) df #> # A tibble: 5 × 3 #> # Groups: year [5] #> year package n #> #> 1 2018 eurostat 18932 #> 2 2019 eurostat 28454 #> 3 2020 eurostat 31298 #> 4 2021 eurostat 30307 #> 5 2022 eurostat 27656 packages <- c(\"eurostat\", \"giscoR\", \"sotkanet\", \"geofi\", \"sweidnumbr\") plot <- cran_downloads(pkgs = packages, sum = \"total\", output = \"plot\", use.cache = FALSE) plot"},{"path":"https://ropengov.github.io/sorvi/index.html","id":"contributing","dir":"","previous_headings":"","what":"Contributing","title":"Functions for Finnish Open Data","text":"Submit suggestions bug reports (provide output sessionInfo() packageVersion(\"sorvi\") preferably provide reproducible example) Send pull request Star us Github page See website additional contact information","code":""},{"path":"https://ropengov.github.io/sorvi/index.html","id":"acknowledgements","dir":"","previous_headings":"","what":"Acknowledgements","title":"Functions for Finnish Open Data","text":"Kindly cite work follows: Leo Lahti, Juuso Parkkinen, Joona Lehtomäki, Pyry Kantanen. sorvi - Finnish Open Data Toolkit. URL: http://ropengov.github.io/sorvi/ grateful Jussi Paananen, Einari Happonen, Juuso Haapanen, contributors! project part rOpenGov.","code":""},{"path":"https://ropengov.github.io/sorvi/reference/cran_downloads.html","id":null,"dir":"Reference","previous_headings":"","what":"Get CRAN download statistics — cran_downloads","title":"Get CRAN download statistics — cran_downloads","text":"Produces tibble visualization package download statistics.","code":""},{"path":"https://ropengov.github.io/sorvi/reference/cran_downloads.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get CRAN download statistics — cran_downloads","text":"","code":"cran_downloads( pkgs = \"all\", output = \"tibble\", sum = \"by_month\", plot.scale = 11, use.cache = TRUE )"},{"path":"https://ropengov.github.io/sorvi/reference/cran_downloads.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get CRAN download statistics — cran_downloads","text":"pkgs Package name(s). Default \"\", prints statistics rOpenGov packages. can also input 1 package names vector. output \"tibble\" (default) \"plot\". sum \"by_month\" \"by_year\" \"plot\" outputs line chart, \"total\" outputs bar chart. sum \"by_month\" (default), \"by_year\" \"total\" plot.scale integer, default 11. Smaller numbers decrease size plot elements, larger numbers make larger. use.cache Cache downloaded statistics. Default TRUE","code":""},{"path":"https://ropengov.github.io/sorvi/reference/cran_downloads.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get CRAN download statistics — cran_downloads","text":"tibble ggplot2 line chart bar chart","code":""},{"path":"https://ropengov.github.io/sorvi/reference/cran_downloads.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Get CRAN download statistics — cran_downloads","text":"function intended easy retrieval visualization rOpenGov package download statistics CRAN. evolution R script antagomir. retains features present original R script deemed useful rOpenGov's internal use. function may may useful instances.","code":""},{"path":"https://ropengov.github.io/sorvi/reference/cran_downloads.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Get CRAN download statistics — cran_downloads","text":"Leo Lahti, Pyry Kantanen ","code":""},{"path":"https://ropengov.github.io/sorvi/reference/cran_downloads.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Get CRAN download statistics — cran_downloads","text":"","code":"if (FALSE) { df <- cran_downloads(pkgs = \"eurostat\", sum = \"total\", use.cache = FALSE) kable(df) ## Compare two packages p1 <- cran_downloads(pkgs = \"eurostat\", sum = \"by_year\", output = \"plot\") p2 <- cran_downloads(pkgs = \"osmar\", sum = \"by_year\", output = \"plot\") gridExtra::grid.arrange(p1, p2, nrow = 2) }"},{"path":"https://ropengov.github.io/sorvi/reference/get_ifpi_charts.html","id":null,"dir":"Reference","previous_headings":"","what":"Get IFPI Finland music consumption statistics — get_ifpi_charts","title":"Get IFPI Finland music consumption statistics — get_ifpi_charts","text":"Download chart position data ifpi.fi","code":""},{"path":"https://ropengov.github.io/sorvi/reference/get_ifpi_charts.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get IFPI Finland music consumption statistics — get_ifpi_charts","text":"","code":"get_ifpi_charts(channel = \"radio\", year = NA, week = NA)"},{"path":"https://ropengov.github.io/sorvi/reference/get_ifpi_charts.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get IFPI Finland music consumption statistics — get_ifpi_charts","text":"channel Options: \"radio\", \"albumit\", \"singlet\", \"fyysiset-albumit\" year year numeric. Default NA, returning charts current year. Charts available 2014 onwards. week week numeric. Default NA, returning last possible charts. Week current week. Please note number weeks differ years. simplicity's sake valid weeks set 1 53. Use e.g. `lubridate::isoweek` check many weeks given year .","code":""},{"path":"https://ropengov.github.io/sorvi/reference/get_ifpi_charts.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get IFPI Finland music consumption statistics — get_ifpi_charts","text":"tibble","code":""},{"path":"https://ropengov.github.io/sorvi/reference/get_ifpi_charts.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Get IFPI Finland music consumption statistics — get_ifpi_charts","text":"Web scraping function inspired Sauravkaushik8 Kaushik's blog post \"Beginner's Guide Web Scraping R\" analyticsvidhya.com. Downloads chart data Musiikkituottajat - IFPI Finland ry website. Please note function works IFPI Finland website! output following columns: rank: Rank chart artist: Artist name song_title: Song title rank_last_week: Rank chart previous week. RE song re-entered chart chart_woc: Weeks chart week: Week number observation year: Year observation","code":""},{"path":[]},{"path":"https://ropengov.github.io/sorvi/reference/get_ifpi_charts.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Get IFPI Finland music consumption statistics — get_ifpi_charts","text":"Pyry Kantanen ","code":""},{"path":"https://ropengov.github.io/sorvi/reference/get_municipalities.html","id":null,"dir":"Reference","previous_headings":"","what":"Select Municipalities by Year — get_municipalities","title":"Select Municipalities by Year — get_municipalities","text":"larger dataset containing historical municipalities, pick certain year return output contains recent information municipality.","code":""},{"path":"https://ropengov.github.io/sorvi/reference/get_municipalities.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Select Municipalities by Year — get_municipalities","text":"","code":"get_municipalities(year = 2002, type = \"data.frame\")"},{"path":"https://ropengov.github.io/sorvi/reference/get_municipalities.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Select Municipalities by Year — get_municipalities","text":"Data attribution: FinnONTO Consortium: https://seco.cs.aalto.fi/projects/finnonto/","code":""},{"path":"https://ropengov.github.io/sorvi/reference/get_municipalities.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Select Municipalities by Year — get_municipalities","text":"year year 1865-2020 type either \"data.frame\" \"sf\"","code":""},{"path":"https://ropengov.github.io/sorvi/reference/get_municipalities.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Select Municipalities by Year — get_municipalities","text":"data.frame sf object","code":""},{"path":"https://ropengov.github.io/sorvi/reference/get_municipalities.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Select Municipalities by Year — get_municipalities","text":"See dataset \"kunnat1865_2021\"","code":""},{"path":"https://ropengov.github.io/sorvi/reference/get_municipalities.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Select Municipalities by Year — get_municipalities","text":"Pyry Kantanen","code":""},{"path":"https://ropengov.github.io/sorvi/reference/gh_issue_stats.html","id":null,"dir":"Reference","previous_headings":"","what":"GitHub issues statistics — gh_issue_stats","title":"GitHub issues statistics — gh_issue_stats","text":"Get statistics GitHub issues GitHub API.","code":""},{"path":"https://ropengov.github.io/sorvi/reference/gh_issue_stats.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"GitHub issues statistics — gh_issue_stats","text":"","code":"gh_issue_stats( owner = \"ropengov\", repo = \"geofi\", issue.type = NA, time.from = NA, time.to = NA )"},{"path":"https://ropengov.github.io/sorvi/reference/gh_issue_stats.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"GitHub issues statistics — gh_issue_stats","text":"owner Repository owner / organization. Default \"ropengov\" repo Repository name. Default \"geofi\" issue.type Type issues printed: \"issue\", \"PR\" NA printing (default). time.Start date ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. Default \"2010-09-01T00:00:00Z\". time.End date ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. Default Sys.time().","code":""},{"path":"https://ropengov.github.io/sorvi/reference/gh_issue_stats.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"GitHub issues statistics — gh_issue_stats","text":"tibble","code":""},{"path":"https://ropengov.github.io/sorvi/reference/gh_issue_stats.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"GitHub issues statistics — gh_issue_stats","text":"function intended easy information retrieval rOpenGov package issues pull requests. specifically, function returns tibble containing information issue id, title, status (open closed), number comments, opened , created, openers status (rOpenGov organization member, package contributor regular user opened e.g. bug issue) type issue. GitHub Issues API handles Pull Requests Issues similarly therefore function returns types default. Different types issues can filtered using issue.type parameter. Kudos function go Jennifer Bryan. changes made mostly related adding additional fields (opener_type, issue_type) output tibble writing function around original contributions. scope function mainly help rOpenGov team analyze type user feedback get via GitHub issues therefore scope function limited.","code":""},{"path":[]},{"path":"https://ropengov.github.io/sorvi/reference/gh_issue_stats.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"GitHub issues statistics — gh_issue_stats","text":"Original scripts Jennifer Bryan (jennybc), function Pyry Kantanen ","code":""},{"path":"https://ropengov.github.io/sorvi/reference/kunnat1865_2021.html","id":null,"dir":"Reference","previous_headings":"","what":"Municipality dataset — kunnat1865_2021","title":"Municipality dataset — kunnat1865_2021","text":"dataset containing information instance individual municipalities.","code":""},{"path":"https://ropengov.github.io/sorvi/reference/kunnat1865_2021.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Municipality dataset — kunnat1865_2021","text":"","code":"kunnat1865_2021"},{"path":"https://ropengov.github.io/sorvi/reference/kunnat1865_2021.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Municipality dataset — kunnat1865_2021","text":"simple feature 1337 rows 10 variables: x Universal Resource Identifier (URI) municipality instance time. example: http://www.yso.fi/onto/sapo/Maalahti(1908-1972) kunta_nro Municipality code, unique number assigned municipality stays long municipality exists. example: \"475\" kunta_name_fi official name municipality Finnish. example: Maalahti kunta_name_fi official name municipality Swedish. example: Malax startyear Start year municipality instance, e.g. founding year. example: 1865 endyear End year municipality instance, can NA still valid. example: 1972 area Area municipality, square kilometers. example 185.00 muutos_kuvaus description change occurred beginning specific instance. example: \"Ahlainen erotettiin Ulvilasta 1908\" muutos_tyyppi Type change. example: \"Jakaantuminen\" muutos_tunniste Identifiers changes happened, can used link past future instances municipalities together. example: \"Jakaantuminen1534, Jakaantuminen2\"","code":""},{"path":"https://ropengov.github.io/sorvi/reference/kunnat1865_2021.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Municipality dataset — kunnat1865_2021","text":"Raw data downloaded ONKI.fi website 04 Aug 2022: http://onki.fi/en/browser/overview/sapo Data attribution: FinnONTO Consortium: https://seco.cs.aalto.fi/projects/finnonto/ Information abolished municipalities municipality name changes Statistics Finland website: Municipalities regional divisions based municipalities files classification publications","code":""},{"path":"https://ropengov.github.io/sorvi/reference/kunnat1865_2021.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Municipality dataset — kunnat1865_2021","text":"Finnish municipalities formed 1865 decree municipal governance country Asetus kunnallishallituksesta maalla 1865 dataset contains municipalities allegedly formed even . two instances \"illegal municipalities\" (Mustio Rutakko) recognized actual municipalities functioned late 1800s early 1900s.","code":""},{"path":"https://ropengov.github.io/sorvi/reference/load_sorvi_data.html","id":null,"dir":"Reference","previous_headings":"","what":"Supporting Data — load_sorvi_data","title":"Supporting Data — load_sorvi_data","text":"Load custom data sets.","code":""},{"path":"https://ropengov.github.io/sorvi/reference/load_sorvi_data.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Supporting Data — load_sorvi_data","text":"","code":"load_sorvi_data(data.id, verbose = TRUE)"},{"path":"https://ropengov.github.io/sorvi/reference/load_sorvi_data.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Supporting Data — load_sorvi_data","text":"data.id data ID download (see details) verbose verbose","code":""},{"path":"https://ropengov.github.io/sorvi/reference/load_sorvi_data.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Supporting Data — load_sorvi_data","text":"Data set. format depends data.","code":""},{"path":"https://ropengov.github.io/sorvi/reference/load_sorvi_data.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Supporting Data — load_sorvi_data","text":"following data sets available: translation_provincesTranslation Finnish province (maakunta) names (Finnish, English).","code":""},{"path":"https://ropengov.github.io/sorvi/reference/load_sorvi_data.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Supporting Data — load_sorvi_data","text":"See citation(\"sorvi\")","code":""},{"path":"https://ropengov.github.io/sorvi/reference/load_sorvi_data.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Supporting Data — load_sorvi_data","text":"Leo Lahti leo.lahti@iki.fi","code":""},{"path":"https://ropengov.github.io/sorvi/reference/load_sorvi_data.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Supporting Data — load_sorvi_data","text":"","code":"translations <- load_sorvi_data(\"translation_provinces\")"},{"path":"https://ropengov.github.io/sorvi/reference/polygons1909_2009.html","id":null,"dir":"Reference","previous_headings":"","what":"Municipality geometries — polygons1909_2009","title":"Municipality geometries — polygons1909_2009","text":"simple feature containing URIs, municipality codes geometries municipalities time. starting point end point municipality can determined combining polygons1909_2009 another dataset contains information.","code":""},{"path":"https://ropengov.github.io/sorvi/reference/polygons1909_2009.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Municipality geometries — polygons1909_2009","text":"","code":"polygons1909_2009"},{"path":"https://ropengov.github.io/sorvi/reference/polygons1909_2009.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Municipality geometries — polygons1909_2009","text":"simple feature 860 rows 3 variables: x Universal Resource Identifier (URI) municipality instance time. example: http://www.yso.fi/onto/sapo/Maalahti(1908-1972) kunta_nro Municipality code, unique 3-digit code (001-999) assigned municipality stays long municipality exists. example: \"475\" geometry single list column geometries","code":""},{"path":"https://ropengov.github.io/sorvi/reference/polygons1909_2009.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Municipality geometries — polygons1909_2009","text":"Original data downloaded ONKI.fi website 04 Aug 2022: http://onki.fi/en/browser/overview/sapo Data attribution: FinnONTO Consortium: https://seco.cs.aalto.fi/projects/finnonto/","code":""},{"path":"https://ropengov.github.io/sorvi/reference/sorvi-package.html","id":null,"dir":"Reference","previous_headings":"","what":"Algorithmic Tools for Open Data in Finland — sorvi-package","title":"Algorithmic Tools for Open Data in Finland — sorvi-package","text":"sorvi package hosts various functions mainly helpful rOpenGov package maintenance, package authoring drawing graphs presentations. Additionally functions (yet) package useful contexts.","code":""},{"path":"https://ropengov.github.io/sorvi/reference/sorvi-package.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Algorithmic Tools for Open Data in Finland — sorvi-package","text":"See citation(\"sorvi\") https://github.com/rOpenGov/sorvi","code":""},{"path":"https://ropengov.github.io/sorvi/reference/sorvi-package.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Algorithmic Tools for Open Data in Finland — sorvi-package","text":"Leo Lahti, Juuso Parkkinen, Jussi Paananen, Joona Lehtomaki, Einari Happonen, Juuso Haapanen, Pyry Kantanen louhos@googlegroups.com","code":""},{"path":"https://ropengov.github.io/sorvi/reference/sorvi-package.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Algorithmic Tools for Open Data in Finland — sorvi-package","text":"","code":"library(sorvi)"},{"path":[]},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"new-features-0-8-21","dir":"Changelog","previous_headings":"","what":"NEW FEATURES","title":"sorvi 0.8.21 (2023-08-21)","text":"Experimental new features package testing R functions datasets related mapping Finnish historical municipality maps: New experimental function: get_municipalities(), mapping historical Finnish municipalities. year argument can given filter correct selection municipalities given year. New experimental datasets: sorvi::kunnat1865_2021 sorvi::polygons1909_2009, containing needed data get_municipalities() function Raw data courtesy National Semantic Web Ontology Project Finland (FinnONTO), project Semantic Computing Research Group. Raw data downloaded Finnish Ontology Library Service ONKI (description SeCo website).","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"documentation-fixes-0-8-21","dir":"Changelog","previous_headings":"","what":"DOCUMENTATION FIXES","title":"sorvi 0.8.21 (2023-08-21)","text":"Removed table sorvi-package essentially contained information DESCRIPTION file, additional risk sometimes sorvi-package updated rest package .","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0820-2022-05-24","dir":"Changelog","previous_headings":"","what":"sorvi 0.8.20 (2022-05-24)","title":"sorvi 0.8.20 (2022-05-24)","text":"CRAN release: 2022-05-30","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"deprecated-and-defunct-0-8-20","dir":"Changelog","previous_headings":"","what":"DEPRECATED AND DEFUNCT","title":"sorvi 0.8.20 (2022-05-24)","text":"Removed following outdated .R files related functions: is_url, quickdf, convert_municipality_codes.R, convert_municipality_names.R, get_municipality_info_mml.R, municipality_to_province.R ropengov_storage_path.R. Removed qpdf, reshape2, RCurl rjson Depends curl imports","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"documentation-fixes-0-8-20","dir":"Changelog","previous_headings":"","what":"DOCUMENTATION FIXES","title":"sorvi 0.8.20 (2022-05-24)","text":"Removed mentions deprecated functions package vignette","code":""},{"path":[]},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"new-features-0-8-17","dir":"Changelog","previous_headings":"","what":"NEW FEATURES","title":"sorvi 0.8.17 (2021-11-30)","text":"New function: get_ifpi_charts() scraping data Musiikkituottajat - IFPI Finland ry charts","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"other-changes-0-8-17","dir":"Changelog","previous_headings":"","what":"OTHER CHANGES","title":"sorvi 0.8.17 (2021-11-30)","text":"Updated author list reflect current package; added acknowledgments","code":""},{"path":[]},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"new-features-0-8-16","dir":"Changelog","previous_headings":"","what":"NEW FEATURES","title":"sorvi 0.8.16 (2021-11-25)","text":"New function: cran_downloads() getting information package downloads optionally visualizing New function: gh_issue_stats() downloading information opened issues pull requests different repositories","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"minor-improvements-0-8-16","dir":"Changelog","previous_headings":"","what":"MINOR IMPROVEMENTS","title":"sorvi 0.8.16 (2021-11-25)","text":"Using GitHub Actions testing building pkgdown website rogtemplate, rendering README.md file Overall package cleaning fixing warnings, errors notes","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"deprecated-and-defunct-0-8-16","dir":"Changelog","previous_headings":"","what":"DEPRECATED AND DEFUNCT","title":"sorvi 0.8.16 (2021-11-25)","text":"Removed hetu-related functions, tests examples vignette (now separate hetu-package)","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"documentation-fixes-0-8-16","dir":"Changelog","previous_headings":"","what":"DOCUMENTATION FIXES","title":"sorvi 0.8.16 (2021-11-25)","text":"Option “eval=false” vignette examples relied GitHub data repository; GitHub seemed deny connections data downloaded several times vignette rebuilding","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-08-2017-03-02","dir":"Changelog","previous_headings":"","what":"sorvi 0.8 (2017-03-02)","title":"sorvi 0.8 (2017-03-02)","text":"Get data GitHub","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0724-2015-06-22","dir":"Changelog","previous_headings":"","what":"sorvi 0.7.24 (2015-06-22)","title":"sorvi 0.7.24 (2015-06-22)","text":"Removed get_postal_code_info Removed get_province_info","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0724-2014-06-04","dir":"Changelog","previous_headings":"","what":"sorvi 0.7.24 (2014-06-04)","title":"sorvi 0.7.24 (2014-06-04)","text":"Rewritten package moved many functions packages Updated vignette","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0403-2013-09-29","dir":"Changelog","previous_headings":"","what":"sorvi 0.4.03 (2013-09-29)","title":"sorvi 0.4.03 (2013-09-29)","text":"Submitted CRAN","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0401-2013-09-29","dir":"Changelog","previous_headings":"","what":"sorvi 0.4.01 (2013-09-29)","title":"sorvi 0.4.01 (2013-09-29)","text":"Cleaned warnings errors package conversion","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0203-2012-10-26","dir":"Changelog","previous_headings":"","what":"sorvi 0.2.03 (2012-10-26)","title":"sorvi 0.2.03 (2012-10-26)","text":"Fixed problems GetLukiot(), GetOikotie(), GetHRIaluejakokartat(), includes temporary fixes","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0200-2012-10-24","dir":"Changelog","previous_headings":"","what":"sorvi 0.2.00 (2012-10-24)","title":"sorvi 0.2.00 (2012-10-24)","text":"Minor fixed maps.R HKK.R","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0183-2012-09-03","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.83 (2012-09-03)","title":"sorvi 0.1.83 (2012-09-03)","text":"Fixed bug handling years hetu-function.","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0182-2012-08-31","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.82 (2012-08-31)","title":"sorvi 0.1.82 (2012-08-31)","text":"Added functions hetu valid.hetu processing Finnish personal identification numbers.","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0181-2012-08-14","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.81 (2012-08-14)","title":"sorvi 0.1.81 (2012-08-14)","text":"MML data Kunta.FI field updated: Lansi-Turunmaa -> Parainen; Pedersoren kunta -> Pedersore added R/datavaalit.R","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0179-2012-08-08","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.79 (2012-08-08)","title":"sorvi 0.1.79 (2012-08-08)","text":"removed data/ directory, moved rda files beta.datavaalit.fi/storage/louhos added LoadData function","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0173-2012-07-09","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.73 (2012-07-09)","title":"sorvi 0.1.73 (2012-07-09)","text":"Removed several dependencies made marginal (see wiki description)","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0171-2012-05-12","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.71 (2012-05-12)","title":"sorvi 0.1.71 (2012-05-12)","text":"GetMunicipalityInfo modified added ConvertMunicipalityNames function added GetParliamentaryElectionData function GetMunicipalityInfoMML GetMunicipalityInfoStatFi elections*.R functions added datavaalit","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0159-2012-03-10","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.59 (2012-03-10)","title":"sorvi 0.1.59 (2012-03-10)","text":"Added functions GetOmakaupunki, GetPalvelukartta, GetThemeMap Joined files googlemaps.R OpenStreetMap.R file maps.R","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0158-2012-03-06","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.58 (2012-03-06)","title":"sorvi 0.1.58 (2012-03-06)","text":"XML removed dependencies","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0157-2012-02-28","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.57 (2012-02-28)","title":"sorvi 0.1.57 (2012-02-28)","text":"added Seutukunta MML data (via bug fix GetShapeMML) spdep added dependencies (required GenerateMapColours) added function GenerateMapColours","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0155-2012-02-26","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.55 (2012-02-26)","title":"sorvi 0.1.55 (2012-02-26)","text":"GetMunicipalityInfo function updated: now retrieving comprehensive municipality-level information Tilastokeskus Maanmittauslaitos single table Added options PlotShape function","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0154-2012-02-26","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.54 (2012-02-26)","title":"sorvi 0.1.54 (2012-02-26)","text":"Added loaders.R (loading external data .rda-files) XLConnect longer required GetHKK returns single SpatialPolygonsDataFrame instead list new function SplitSpatial splits Spatial*DataFrame object list individual objects based splitter field Updated presidentti2012_PKS_20120201.R reflect changes HKK.R","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0153-2012-02-26","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.53 (2012-02-26)","title":"sorvi 0.1.53 (2012-02-26)","text":"replaced RBGL RColorBrewer dependencies","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0151-2012-02-26","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.51 (2012-02-26)","title":"sorvi 0.1.51 (2012-02-26)","text":"replaced RBGL RColorBrewer dependencies","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0150-2012-02-23","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.50 (2012-02-23)","title":"sorvi 0.1.50 (2012-02-23)","text":"added stringOperations.R (Strip function)","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0149-2012-02-13","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.49 (2012-02-13)","title":"sorvi 0.1.49 (2012-02-13)","text":"added package name front rgdal XML functions (XML::function) handle warnings package build removed special characters vaalit.R","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0148-2012-02-12","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.48 (2012-02-12)","title":"sorvi 0.1.48 (2012-02-12)","text":"Added functions: GetVaalipiiri, GetElectionResultsPresidentti2012 XML removed dependencies (problems R-forge Windows builds) px.R -> tilastokeskus.R","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0147-2012-02-03","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.47 (2012-02-03)","title":"sorvi 0.1.47 (2012-02-03)","text":"function PlotMatrix added RBGL added dependencies, required PlotMatrix","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0146-2012-02-02","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.46 (2012-02-02)","title":"sorvi 0.1.46 (2012-02-02)","text":"added matrixOperations.R: CenterData UnitScale functions added functions analyzing Finnish presidential election data Helsingin Sanomat vaalit.R removed maakunta.R source file removed function GetMaakuntainfo merged GetProvinceInfo FindProvince function argument name change: municipality.list -> municipalities","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0144-2011-12-31","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.44 (2011-12-31)","title":"sorvi 0.1.44 (2011-12-31)","text":"updated GetShapeMML documentation, recreated MML.rda","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0143-2011-12-29","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.43 (2011-12-29)","title":"sorvi 0.1.43 (2011-12-29)","text":"GoogleStyleGuide issues completed examples updated vignette updated GitHub taken use release version","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0142-2011-12-27","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.42 (2011-12-27)","title":"sorvi 0.1.42 (2011-12-27)","text":"get.population.register -> GetPopulationRegister preprocess.px -> GetPXTilastokeskus shape2sorvi -> ReadShape visualize.shape -> PlotShape Added internal function .url","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0141-2011-12-27","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.41 (2011-12-27)","title":"sorvi 0.1.41 (2011-12-27)","text":"WMS functionality included Added wms.R Added functions PreprocessWMS, GetWMSlayers, LoadWMSurl, GetWMSraster ListWMSurls Added internal functions BuildService GetCapabilities Modified AllClasses.R Added classes WMS WMSLayer Added example 20111127-OIVAwms.R","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0140-2011-12-26","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.40 (2011-12-26)","title":"sorvi 0.1.40 (2011-12-26)","text":"get.geocode.GoogleMaps -> GetGeocodeGoogleMaps get.staticmap.GoogleMaps -> GetStaticmapGoogleMaps get.geocode.OpenStreetMap -> GetGeocodeOpenStreetMap preprocess.PKS.aluejakokartat -> GetHRIaluejakokartat preprocess.PKS.lukiot -> GetLukiot getPresidentti2012Data -> GetPresidentti2012 load.migration.data -> GetWorldbankMigration load.apurahat -> GetApurahat preprocess.Oikotie -> GetOikotie Removed datasets: Oikotie, PKS.lukiot (use Get-functions instead) Added updated examples Louhos-articles","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0139-2011-12-24","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.39 (2011-12-24)","title":"sorvi 0.1.39 (2011-12-24)","text":"get.postal.codes -> GetPostalCodeInfo get.province.info -> GetProvinceInfo get.municipality.info -> GetMunicipalityInfo municipality2province -> FindProvince get.hsy -> GetHSY preprocess.shape.mml -> PreprocessShapeMML Added internal function GetShapeMML provide details original MML data preprocessing","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0138-2011-12-22","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.38 (2011-12-22)","title":"sorvi 0.1.38 (2011-12-22)","text":"Changes follow R Style Guide get.gadm -> GetGADM; now converting names UTF-8; also changes output gadm.position2region -> FindGADMPosition2Region; also changes output Added internal function: ConvertGADMResolution","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0136-2011-12-21","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.36 (2011-12-21)","title":"sorvi 0.1.36 (2011-12-21)","text":"get.gadm: alue -> map / fixed taso / added korvaa.skandit","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0134-2011-12-20","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.34 (2011-12-20)","title":"sorvi 0.1.34 (2011-12-20)","text":"Roxygenization completed. package documentation now generated instance library(devtools); document(“pkg”)","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0132-2011-12-19","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.32 (2011-12-19)","title":"sorvi 0.1.32 (2011-12-19)","text":"Changed several R file names general ones (Juuso) ROxygen fields added googlemaps.R, HRI.R, koulut.R, kulttuuri.R, Oikotie.R, OpenStreetMap.R, vaalit.R, worldbank.R Documented PKS.lukiot, Oikotie, PKS.aluejakokartat data sets data.documentation.R","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0131-2011-12-18","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.31 (2011-12-18)","title":"sorvi 0.1.31 (2011-12-18)","text":"get.vaestorekisteri -> get.population.register Roxygen fields added HSY.R, mml.R, population.register.R, px.R, visualization.R roxygen removed dependencies added data.documentation.R Roxygen documentation sorvi data sets; documented MML translations data sets","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0130-2011-12-18","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.30 (2011-12-18)","title":"sorvi 0.1.30 (2011-12-18)","text":"get.gadm: argument name change: alue -> resolution get.maakuntatiedot.R -> get.province.info.R added sorvi-package.R Roxygen fields added gadm.R, get.postal.codes.R, get.province.info.R. Also moved urls function arguments within functions applicable roxygen added dependencies","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0129-2011-12-11","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.29 (2011-12-11)","title":"sorvi 0.1.29 (2011-12-11)","text":"added vaalit.R contains getPresidentti2012Data","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0128-2011-12-09","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.28 (2011-12-09)","title":"sorvi 0.1.28 (2011-12-09)","text":"added HSY.R contains get.hsy function; unintentionally missing version 0.1.27","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0127-2011-12-06","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.27 (2011-12-06)","title":"sorvi 0.1.27 (2011-12-06)","text":"added get.hsy function automated retrieval HSY data removed HSY data get.postinumerot -> get.postal.codes","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0126-2011-12-05","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.26 (2011-12-05)","title":"sorvi 0.1.26 (2011-12-05)","text":"get.maakuntatiedot -> get.province.info Added functions get.municipality.info, get.province.info, municipality2province","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0125-2011-12-04","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.25 (2011-12-04)","title":"sorvi 0.1.25 (2011-12-04)","text":"Added HSY data","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0123-2011-11-15","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.23 (2011-11-15)","title":"sorvi 0.1.23 (2011-11-15)","text":"Lisatty funktiot load.migration.data()","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0122-2011-11-12","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.22 (2011-11-12)","title":"sorvi 0.1.22 (2011-11-12)","text":"Lisatty funktiot load.apurahat() ja load.maakuntakartta()","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0114-2011-10-30","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.14 (2011-10-30)","title":"sorvi 0.1.14 (2011-10-30)","text":"MML:n datat lisatty valmiiksi esikasiteltyna data(MML)-objektiin (data/MML.rda) funktionimet muutettu englanninkielisiksi: hae -> get; putsaa -> preprocess #sorvi 0.1.13 (2011-10-24) - Dokumentointia paivitetty versiosta 0.1.11. #sorvi 0.1.11 (2011-10-23) - Juuson ensimmainen paivitys - Datoja: Oikotie, paakaupunkiseudun aluejakokartat, lukiot - Funktiot yll? olevian datojen muokkaamiseen - Funktioita RGoogleMapsin kayttoon - HUOM! Dokumentaatio osin puutteellista!","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0109-2011-10-18","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.09 (2011-10-18)","title":"sorvi 0.1.09 (2011-10-18)","text":"mml.R Maanmittauslaitoksen datoille apufunktioita","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0108-2011-10-18","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.08 (2011-10-18)","title":"sorvi 0.1.08 (2011-10-18)","text":"vignetteen esimerkkeja aineistohauista ym. Maanmittauslaitoksen karttadatoja lisatty inst/extdata/Maanmittauslaitos/","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0104-2011-10-09","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.04 (2011-10-09)","title":"sorvi 0.1.04 (2011-10-09)","text":"hae.postinumerot: Suomen kuntien ja postinumeroiden mappaamiseen korvaa.skandit: apufunktio skandien kasittelyyn","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0103-2011-10-09","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.03 (2011-10-09)","title":"sorvi 0.1.03 (2011-10-09)","text":"Valineita vaestorekisterikeskuksen datan screenscrapingiin (hae.vaestorekisteri) ja GADM-muotoisen karttadatan hakuun (hae.gadm)","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0101-2011-10-06","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.01 (2011-10-06)","title":"sorvi 0.1.01 (2011-10-06)","text":"Eka versio","code":""}] +[{"path":[]},{"path":"https://ropengov.github.io/sorvi/articles/finnish-historical-maps.html","id":"introduction","dir":"Articles","previous_headings":"Finnish historical maps with sorvi","what":"Introduction","title":"Finnish historical maps with sorvi R package","text":"Accessing high-quality shapefiles vectorized geospatial location boundaries different administrative divisions nowadays trivial datasets readily available download services APIs. Packages geofi/ giscoR make easy draw maps case Finland European NUTS areas visualize statistical data form choropleth maps. However, comes historical boundaries Finnish municipality boundaries year 2013, drawing maps becomes harder. example, National Land Survey Finland offers municipality-based boundaries current year Statistics Finland offers maps 2013 onwards. 2005 2022 , Finnish municipalities undergone 79 merger processes number falling 431 309, approximately one-fourth. time series data municipality mergers taken account Statistics Authorities, making possible see current municipalities parts combined developed past. cases, Statistics Finland uses current municipality division basis population statistics time series.","code":""},{"path":"https://ropengov.github.io/sorvi/articles/finnish-historical-maps.html","id":"previous-work","dir":"Articles","previous_headings":"Finnish historical maps with sorvi","what":"Previous work","title":"Finnish historical maps with sorvi R package","text":"2003-2012 FinnONTO project driven Semantic Computing Research Group (SeCo) started ambition laying foundations “national metadata, ontology, ontology service, linked data framework Finland”. part project National Ontology Service ONKI published 2008, used publish “interlinked, collaboratively created ontologies vocabularies centralized way, 150 organizations registered users. part FinnONTO project, Finnish Spatio-Temporal Ontology (SAPO) created. SAPO “ontology time series Finnish municipalities time interval 1865-2010” ontology, “represents knowledge changes (e.g. merges, splits) historical regions (e.g. cities, counties)”. types changes include (Väätäinen & Kauppinen 2015, Finnish terms parentheses): establishing completely new municipality (perustaminen); abolishing municipality (lakkauttaminen); splitting one municipality two municipalities (jakaantuminen); merging two municipalities single municipality (yhdistyminen); changing ownership part municipality another (aluesiirto); changing name municipality (nimenmuutos); ceding municipality part municipality another sovereign state, effectively abolishing municipality entity original country (alueluovutus); integrating (opposite ceding territory) municipality another sovereign state, effectively meaning new administrative area must established receiving country (aluesaaminen); establishing new administrative area parts two areas (aluesiirtoperustaminen); dividing existing administrative area two existing administrative areas (aluesiirtojakaantuminen); renting certain area use another sovereign state (aluevuokraus); ending rental period land area returning sovereign rule (aluevuokrauksen loppuminen); formation, case administrative areas (settlements) gradually started exist without specific founding date (muodostuminen); demarcation, areas divided two neighbouring administrative areas didn’t previously clearly defined borders (rajanveto). practice, Finnish municipalities set establishment date. municipalities established 1865 Imperial Majesty’s Degree Municipal Administration Countryside (information Wikipedia (Finnish), degree AsK 4/1865 text Wikisource (Finnish)), moved secular administration away church parishes newly established municipalities. Many municipalities also changed names point, split merged, border changes neighbouring municipalities. Ceding abolishing municipalities mostly related situation Second World War many Finnish municipalities Karelia ceded Soviet Union. Since 2008, ONKI superseded Finto, although contain data ONKI . used data files (RDF/Turtle files) downloaded ONKI starting point created datasets feel natural R user use, using rdflib R package.","code":""},{"path":"https://ropengov.github.io/sorvi/articles/finnish-historical-maps.html","id":"drawing-historical-maps","dir":"Articles","previous_headings":"Finnish historical maps with sorvi","what":"Drawing historical maps","title":"Finnish historical maps with sorvi R package","text":"Historical maps can drawn simply using get_municipalities() function. municipalities can plotted base R functions ggplot2. interesting mapping examples, recommend readers acquaintance e.g. geofi packages articles making maps, joining attribute data geospatial objects spatial data analysis. sorvi::kunnat1865_2021 dataset sorvi consists sf objects analogous recent objects downloaded geofi package.","code":"library(sorvi) #> sorvi - Tools for Finnish Open Data. #> Copyright (C) 2010-2023 Leo Lahti, Juuso Parkkinen, Joona Lehtomaki and Pyry Kantanen #> #> http://github.com/ropengov/sorvi #> #> Hard sciences are successful because they deal with soft problems; #> soft sciences are struggling because they deal with hard problems. #> - Von Foerster x <- get_municipalities(year = 1912) head(x) #> Simple feature collection with 6 features and 8 fields #> Geometry type: POLYGON #> Dimension: XY #> Bounding box: xmin: 20.88007 ymin: 60.87673 xmax: 24.76896 ymax: 66.30193 #> Geodetic CRS: ISN93 #> # A tibble: 6 × 9 #> # Groups: kunta_nro [6] #> x kunta_nro kunta_name_fi kunta_name_sv startyear endyear area #> #> 1 http://www.yso.… 001 Ahlainen Ahlainen 1908 1971 185 #> 2 http://www.yso.… 003 Akaa Akaa 1895 1931 131 #> 3 http://www.yso.… 004 Alahärmä Alahärmä 1867 2008 351. #> 4 http://www.yso.… 005 Alajärvi Alajärvi 1868 2008 737. #> 5 http://www.yso.… 006 Alastaro Alastaro 1869 2008 257. #> 6 http://www.yso.… 007 Alatornio Nedertorneå 1865 1956 868 #> # ℹ 2 more variables: muutos_tyyppi , geometry plot(x) library(ggplot2) ggplot(x) + geom_sf()"},{"path":"https://ropengov.github.io/sorvi/articles/finnish-historical-maps.html","id":"future-work","dir":"Articles","previous_headings":"Finnish historical maps with sorvi","what":"Future work","title":"Finnish historical maps with sorvi R package","text":"can seen visualizations , gaps data. example, dataset metadata year 1912 shows 49 empty geometries: addition, inconsistencies geometries compared newer datasets downloaded National Land Survey Finland / Statistics Finland API. example, municipalities surrounded rural municipalities (“maalaiskunta”) can sometimes left rural municipality polygon rural municipality polygon simplified holes. Similarly, municipality enclaves exclaves might properly represented borders municipalities rather simplified. However, must noted small-scale information like essential drawing choropleth maps visualizing broad strokes municipality administration development Finland. Additionally, access historical maps mean much else done without access type data. Statistics Finland published data Finnish population 1750 onwards statistical database can accessed e.g. pxweb R package, regrettably, data national level. Publications Suomen Tilastollinen Vuosikirja (Finnish Statistical Yearbook, example 1918) might interesting sources information someone time resources digitize tables . Utilizing HisKi database contains digitized parish record data also interesting, although oldest parish records much older oldest municipalities. prompt need map parish district borders well-defined borders ever existed. therefore evident much work still done. Users welcome fill data gaps provide better polygons! Opening issue GitHub directly making pull request much appreciated. Suggestions regarding best possible practices solutions data metadata storage also welcome.","code":"Simple feature collection with 520 features and 8 fields (with 49 geometries empty) Geometry type: GEOMETRY Dimension: XY Bounding box: xmin: 19.08318 ymin: 59.45416 xmax: 32.019 ymax: 70.09204 Geodetic CRS: ISN93 # A tibble: 520 × 9 # Groups: kunta_nro [520]"},{"path":"https://ropengov.github.io/sorvi/articles/finnish-historical-maps.html","id":"attribution","dir":"Articles","previous_headings":"Finnish historical maps with sorvi","what":"Attribution","title":"Finnish historical maps with sorvi R package","text":"Raw data downloaded ONKI.fi website 04 Aug 2022: http://onki.fi/en/browser/overview/sapo Data attribution: FinnONTO Consortium: https://seco.cs.aalto.fi/projects/finnonto/","code":""},{"path":"https://ropengov.github.io/sorvi/articles/finnish-historical-maps.html","id":"references","dir":"Articles","previous_headings":"Finnish historical maps with sorvi","what":"References","title":"Finnish historical maps with sorvi R package","text":"Kauppinen, Tomi & Väätäinen, Jari. 2015. SAPOn nykytila, ylläpito ja laajennusmahdollisuudet. Raportteja ja selvityksiä 1/2015, Kansalliskirjasto. URN: https://urn.fi/URN:ISBN:978-951-51-1422-8 Tilastokeskus. 1999. Väestötilastoja 250 vuotta: Katsaus väestötilaston historiaan vuosina 1749–1999. Väestö 1999:8, SVT. URN: https://urn.fi/URN:NBN:fi-fe2023013112911","code":""},{"path":[]},{"path":"https://ropengov.github.io/sorvi/articles/sorvi_tutorial.html","id":"introduction","dir":"Articles","previous_headings":"Finnish open (government) data toolkit for R","what":"Introduction","title":"sorvi Tutorial","text":"sorvi package originally intended hosting various algorithms Finnish open goverment data R. superseded later rOpenGov packages specialized scope (geofi, hetu pxweb), sorvi now found new life hosting various functions helpful rOpenGov package maintenance, authoring preparing presentations.","code":""},{"path":"https://ropengov.github.io/sorvi/articles/sorvi_tutorial.html","id":"installation","dir":"Articles","previous_headings":"Finnish open (government) data toolkit for R","what":"Installation","title":"sorvi Tutorial","text":"Install stable release version CRAN R: Alternatively, use remotes package install latest development version GitHub: Loading package R command line:","code":"install.packages(\"sorvi\") library(remotes) remotes::install_github(\"ropengov/sorvi\") library(sorvi)"},{"path":"https://ropengov.github.io/sorvi/articles/sorvi_tutorial.html","id":"using-the-package","dir":"Articles","previous_headings":"Finnish open (government) data toolkit for R","what":"Using the package","title":"sorvi Tutorial","text":"number functions package reduced compared older versions. Get download statistics eurostat-package, year: Get download statistics various rOpenGov packages time draw chart:","code":"df <- cran_downloads(pkgs = \"eurostat\", sum = \"by_year\", use.cache = FALSE) df packages <- c(\"eurostat\", \"giscoR\", \"sotkanet\", \"geofi\", \"sweidnumbr\") plot <- cran_downloads(pkgs = packages, sum = \"total\", output = \"plot\", use.cache = FALSE) plot"},{"path":"https://ropengov.github.io/sorvi/articles/sorvi_tutorial.html","id":"historical-mapping-and-data-sets","dir":"Articles","previous_headings":"Finnish open (government) data toolkit for R","what":"Historical mapping and data sets","title":"sorvi Tutorial","text":"sorvi package includes 2 datasets: sorvi::kunnat1865_2021 listing municipalities existed years 1865-2021, sorvi::polygons1909_2009 contains polygons municipalities contained former dataset. Despite slightly misleading name, polygons dataset contains shapes municipalities 1800s well, municipalities borders remained relatively unchanged 2nd World War late 1900s-early 2000s municipality mergers. users definitely can use datasets directly work (improvements / additions / forks welcome!), included get_municipalities() function conveniently returning map Finland existed certain point time. simple example using get_municipalities() function drawing map containing Finnish municipalities 1931: See sorvi article Finnish historical maps sorvi R package information examples.","code":"library(ggplot2) map1931 <- get_municipalities(year = 1931) ggplot(map1931) + geom_sf()"},{"path":"https://ropengov.github.io/sorvi/articles/sorvi_tutorial.html","id":"licensing-and-citations","dir":"Articles","previous_headings":"Finnish open (government) data toolkit for R","what":"Licensing and Citations","title":"sorvi Tutorial","text":"work can freely used, modified distributed Two-clause BSD license. data attribution, see dataset documentation.","code":"citation(\"sorvi\") #> Kindly cite the sorvi R package as follows: #> #> Leo Lahti, Juuso Parkkinen, Joona Lehtomaki, Juuso Haapanen, Einari #> Happonen, Jussi Paananen and Pyry Kantanen (2023). sorvi: Finnish #> open data toolkit for R. R package version 0.8.21 URL: #> https://github.com/rOpenGov/sorvi #> #> A BibTeX entry for LaTeX users is #> #> @Misc{, #> title = {sorvi: Finnish open government data toolkit for R}, #> author = {Leo Lahti and Juuso Parkkinen and Joona Lehtomaki and Juuso Haapanen and Einari Happonen and Jussi Paananen and Pyry Kantanen}, #> doi = {10.5281/zenodo.598121}, #> url = {https://github.com/rOpenGov/sorvi}, #> year = {2023}, #> note = {R package version 0.8.21}, #> } #> #> Many thanks for all contributors!"},{"path":"https://ropengov.github.io/sorvi/articles/sorvi_tutorial.html","id":"session-info","dir":"Articles","previous_headings":"Finnish open (government) data toolkit for R","what":"Session info","title":"sorvi Tutorial","text":"vignette created call statistician experiment done may asking perform post-mortem examination: may able say experiment died . ~ Sir Ronald Aylmer Fisher","code":"sessionInfo() #> R version 4.3.1 (2023-06-16) #> Platform: x86_64-pc-linux-gnu (64-bit) #> Running under: Ubuntu 22.04.3 LTS #> #> Matrix products: default #> BLAS: /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3 #> LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.20.so; LAPACK version 3.10.0 #> #> locale: #> [1] LC_CTYPE=C.UTF-8 LC_NUMERIC=C LC_TIME=C.UTF-8 #> [4] LC_COLLATE=C.UTF-8 LC_MONETARY=C.UTF-8 LC_MESSAGES=C.UTF-8 #> [7] LC_PAPER=C.UTF-8 LC_NAME=C LC_ADDRESS=C #> [10] LC_TELEPHONE=C LC_MEASUREMENT=C.UTF-8 LC_IDENTIFICATION=C #> #> time zone: UTC #> tzcode source: system (glibc) #> #> attached base packages: #> [1] stats graphics grDevices utils datasets methods base #> #> other attached packages: #> [1] ggplot2_3.4.3 sorvi_0.8.21 #> #> loaded via a namespace (and not attached): #> [1] tidyr_1.3.0 sass_0.4.7 utf8_1.2.3 generics_0.1.3 #> [5] class_7.3-22 xml2_1.3.5 KernSmooth_2.23-21 stringi_1.7.12 #> [9] digest_0.6.33 magrittr_2.0.3 evaluate_0.21 grid_4.3.1 #> [13] timechange_0.2.0 RColorBrewer_1.1-3 fastmap_1.1.1 rprojroot_2.0.3 #> [17] jsonlite_1.8.7 e1071_1.7-13 backports_1.4.1 DBI_1.1.3 #> [21] httr_1.4.7 rvest_1.0.3 purrr_1.0.2 fansi_1.0.4 #> [25] scales_1.2.1 textshaping_0.3.6 jquerylib_0.1.4 cli_3.6.1 #> [29] rlang_1.1.1 units_0.8-3 munsell_0.5.0 withr_2.5.0 #> [33] cachem_1.0.8 yaml_2.3.7 tools_4.3.1 memoise_2.0.1 #> [37] checkmate_2.2.0 dplyr_1.1.2 colorspace_2.1-0 vctrs_0.6.3 #> [41] R6_2.5.1 proxy_0.4-27 classInt_0.4-9 lifecycle_1.0.3 #> [45] lubridate_1.9.2 stringr_1.5.0 fs_1.6.3 ragg_1.2.5 #> [49] pkgconfig_2.0.3 desc_1.4.2 pkgdown_2.0.7 bslib_0.5.1 #> [53] pillar_1.9.0 gtable_0.3.3 Rcpp_1.0.11 glue_1.6.2 #> [57] gh_1.4.0 sf_1.0-14 systemfonts_1.0.4 highr_0.10 #> [61] xfun_0.40 tibble_3.2.1 tidyselect_1.2.0 knitr_1.43 #> [65] farver_2.1.1 htmltools_0.5.6 rmarkdown_2.24 dlstats_0.1.7 #> [69] compiler_4.3.1"},{"path":"https://ropengov.github.io/sorvi/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Leo Lahti. Author, maintainer. Juuso Parkkinen. Author. Joona Lehtomaki. Author. Pyry Kantanen. Author.","code":""},{"path":"https://ropengov.github.io/sorvi/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Leo Lahti, Juuso Parkkinen, Joona Lehtomaki, Juuso Haapanen, Einari Happonen, Jussi Paananen Pyry Kantanen (2023). sorvi: Finnish open data toolkit R. R package version 0.8.21 URL: https://github.com/rOpenGov/sorvi","code":"@Misc{, title = {sorvi: Finnish open government data toolkit for R}, author = {Leo Lahti and Juuso Parkkinen and Joona Lehtomaki and Juuso Haapanen and Einari Happonen and Jussi Paananen and Pyry Kantanen}, doi = {10.5281/zenodo.598121}, url = {https://github.com/rOpenGov/sorvi}, year = {2023}, note = {R package version 0.8.21}, }"},{"path":"https://ropengov.github.io/sorvi/index.html","id":"sorvi","dir":"","previous_headings":"","what":"Functions for Finnish Open Data","title":"Functions for Finnish Open Data","text":"sorvi package originally intended hosting various algorithms Finnish open goverment data R. superseded later rOpenGov packages specialized scope (geofi, hetu pxweb), sorvi now found new life hosting various functions helpful rOpenGov package maintenance, authoring preparing presentations. Originally rOpenGov/sorvi fork juusohaapanen/soRvi-dev rOpenGov’s sorvi branch since taken life . fork detached fron juusohaapanen’s branch November 2021.","code":""},{"path":"https://ropengov.github.io/sorvi/index.html","id":"installation","dir":"","previous_headings":"","what":"Installation","title":"Functions for Finnish Open Data","text":"can install development version sorvi GitHub : Development version can also installed using r-universe: still CRAN release version sorvi passes CRAN checks without problems contains mostly outdated functions. therefore highly recommended use development version package.","code":"# install.packages(\"remotes\") remotes::install_github(\"rOpenGov/sorvi\") # Enable this universe options(repos = c( ropengov = \"https://ropengov.r-universe.dev\", CRAN = \"https://cloud.r-project.org\" )) install.packages(\"sorvi\")"},{"path":"https://ropengov.github.io/sorvi/index.html","id":"using-the-package","dir":"","previous_headings":"","what":"Using the package","title":"Functions for Finnish Open Data","text":"Loading package R: Get download statistics eurostat-package, year: Get download statistics various rOpenGov packages time draw chart: examples, check package vignette.","code":"library(sorvi) df <- cran_downloads(pkgs = \"eurostat\", sum = \"by_year\", use.cache = FALSE) df #> # A tibble: 5 × 3 #> # Groups: year [5] #> year package n #> #> 1 2018 eurostat 18932 #> 2 2019 eurostat 28454 #> 3 2020 eurostat 31298 #> 4 2021 eurostat 30307 #> 5 2022 eurostat 27656 packages <- c(\"eurostat\", \"giscoR\", \"sotkanet\", \"geofi\", \"sweidnumbr\") plot <- cran_downloads(pkgs = packages, sum = \"total\", output = \"plot\", use.cache = FALSE) plot"},{"path":"https://ropengov.github.io/sorvi/index.html","id":"contributing","dir":"","previous_headings":"","what":"Contributing","title":"Functions for Finnish Open Data","text":"Submit suggestions bug reports (provide output sessionInfo() packageVersion(\"sorvi\") preferably provide reproducible example) Send pull request Star us Github page See website additional contact information","code":""},{"path":"https://ropengov.github.io/sorvi/index.html","id":"acknowledgements","dir":"","previous_headings":"","what":"Acknowledgements","title":"Functions for Finnish Open Data","text":"Kindly cite work follows: Leo Lahti, Juuso Parkkinen, Joona Lehtomaki Pyry Kantanen (2023). sorvi: Finnish open data toolkit R. R package version 0.8.21. URL: https://github.com/rOpenGov/sorvi grateful Jussi Paananen, Einari Happonen, Juuso Haapanen, contributors! project part rOpenGov.","code":""},{"path":"https://ropengov.github.io/sorvi/reference/cran_downloads.html","id":null,"dir":"Reference","previous_headings":"","what":"Get CRAN download statistics — cran_downloads","title":"Get CRAN download statistics — cran_downloads","text":"Produces tibble visualization package download statistics.","code":""},{"path":"https://ropengov.github.io/sorvi/reference/cran_downloads.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get CRAN download statistics — cran_downloads","text":"","code":"cran_downloads( pkgs = \"all\", output = \"tibble\", sum = \"by_month\", plot.scale = 11, use.cache = TRUE )"},{"path":"https://ropengov.github.io/sorvi/reference/cran_downloads.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get CRAN download statistics — cran_downloads","text":"pkgs Package name(s). Default \"\", prints statistics rOpenGov packages. can also input 1 package names vector. output \"tibble\" (default) \"plot\". sum \"by_month\" \"by_year\" \"plot\" outputs line chart, \"total\" outputs bar chart. sum \"by_month\" (default), \"by_year\" \"total\" plot.scale integer, default 11. Smaller numbers decrease size plot elements, larger numbers make larger. use.cache Cache downloaded statistics. Default TRUE","code":""},{"path":"https://ropengov.github.io/sorvi/reference/cran_downloads.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get CRAN download statistics — cran_downloads","text":"tibble ggplot2 line chart bar chart","code":""},{"path":"https://ropengov.github.io/sorvi/reference/cran_downloads.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Get CRAN download statistics — cran_downloads","text":"function intended easy retrieval visualization rOpenGov package download statistics CRAN. evolution R script antagomir. retains features present original R script deemed useful rOpenGov's internal use. function may may useful instances.","code":""},{"path":"https://ropengov.github.io/sorvi/reference/cran_downloads.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Get CRAN download statistics — cran_downloads","text":"Leo Lahti, Pyry Kantanen ","code":""},{"path":"https://ropengov.github.io/sorvi/reference/cran_downloads.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Get CRAN download statistics — cran_downloads","text":"","code":"if (FALSE) { df <- cran_downloads(pkgs = \"eurostat\", sum = \"total\", use.cache = FALSE) kable(df) ## Compare two packages p1 <- cran_downloads(pkgs = \"eurostat\", sum = \"by_year\", output = \"plot\") p2 <- cran_downloads(pkgs = \"osmar\", sum = \"by_year\", output = \"plot\") gridExtra::grid.arrange(p1, p2, nrow = 2) }"},{"path":"https://ropengov.github.io/sorvi/reference/get_ifpi_charts.html","id":null,"dir":"Reference","previous_headings":"","what":"Get IFPI Finland music consumption statistics — get_ifpi_charts","title":"Get IFPI Finland music consumption statistics — get_ifpi_charts","text":"Download chart position data ifpi.fi","code":""},{"path":"https://ropengov.github.io/sorvi/reference/get_ifpi_charts.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get IFPI Finland music consumption statistics — get_ifpi_charts","text":"","code":"get_ifpi_charts(channel = \"radio\", year = NA, week = NA)"},{"path":"https://ropengov.github.io/sorvi/reference/get_ifpi_charts.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get IFPI Finland music consumption statistics — get_ifpi_charts","text":"channel Options: \"radio\", \"albumit\", \"singlet\", \"fyysiset-albumit\" year year numeric. Default NA, returning charts current year. Charts available 2014 onwards. week week numeric. Default NA, returning last possible charts. Week current week. Please note number weeks differ years. simplicity's sake valid weeks set 1 53. Use e.g. `lubridate::isoweek` check many weeks given year .","code":""},{"path":"https://ropengov.github.io/sorvi/reference/get_ifpi_charts.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get IFPI Finland music consumption statistics — get_ifpi_charts","text":"tibble","code":""},{"path":"https://ropengov.github.io/sorvi/reference/get_ifpi_charts.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Get IFPI Finland music consumption statistics — get_ifpi_charts","text":"Web scraping function inspired Sauravkaushik8 Kaushik's blog post \"Beginner's Guide Web Scraping R\" analyticsvidhya.com. Downloads chart data Musiikkituottajat - IFPI Finland ry website. Please note function works IFPI Finland website! output following columns: rank: Rank chart artist: Artist name song_title: Song title rank_last_week: Rank chart previous week. RE song re-entered chart chart_woc: Weeks chart week: Week number observation year: Year observation","code":""},{"path":[]},{"path":"https://ropengov.github.io/sorvi/reference/get_ifpi_charts.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Get IFPI Finland music consumption statistics — get_ifpi_charts","text":"Pyry Kantanen ","code":""},{"path":"https://ropengov.github.io/sorvi/reference/get_municipalities.html","id":null,"dir":"Reference","previous_headings":"","what":"Select Municipalities by Year — get_municipalities","title":"Select Municipalities by Year — get_municipalities","text":"larger dataset containing historical municipalities, pick certain year return output contains recent information municipality.","code":""},{"path":"https://ropengov.github.io/sorvi/reference/get_municipalities.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Select Municipalities by Year — get_municipalities","text":"","code":"get_municipalities(year = 2002, type = \"data.frame\")"},{"path":"https://ropengov.github.io/sorvi/reference/get_municipalities.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Select Municipalities by Year — get_municipalities","text":"Data attribution: FinnONTO Consortium: https://seco.cs.aalto.fi/projects/finnonto/","code":""},{"path":"https://ropengov.github.io/sorvi/reference/get_municipalities.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Select Municipalities by Year — get_municipalities","text":"year year 1865-2020 type either \"data.frame\" \"sf\"","code":""},{"path":"https://ropengov.github.io/sorvi/reference/get_municipalities.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Select Municipalities by Year — get_municipalities","text":"data.frame sf object","code":""},{"path":"https://ropengov.github.io/sorvi/reference/get_municipalities.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Select Municipalities by Year — get_municipalities","text":"See dataset \"kunnat1865_2021\"","code":""},{"path":"https://ropengov.github.io/sorvi/reference/get_municipalities.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Select Municipalities by Year — get_municipalities","text":"Pyry Kantanen","code":""},{"path":"https://ropengov.github.io/sorvi/reference/gh_issue_stats.html","id":null,"dir":"Reference","previous_headings":"","what":"GitHub issues statistics — gh_issue_stats","title":"GitHub issues statistics — gh_issue_stats","text":"Get statistics GitHub issues GitHub API.","code":""},{"path":"https://ropengov.github.io/sorvi/reference/gh_issue_stats.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"GitHub issues statistics — gh_issue_stats","text":"","code":"gh_issue_stats( owner = \"ropengov\", repo = \"geofi\", issue.type = NA, time.from = NA, time.to = NA )"},{"path":"https://ropengov.github.io/sorvi/reference/gh_issue_stats.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"GitHub issues statistics — gh_issue_stats","text":"owner Repository owner / organization. Default \"ropengov\" repo Repository name. Default \"geofi\" issue.type Type issues printed: \"issue\", \"PR\" NA printing (default). time.Start date ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. Default \"2010-09-01T00:00:00Z\". time.End date ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. Default Sys.time().","code":""},{"path":"https://ropengov.github.io/sorvi/reference/gh_issue_stats.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"GitHub issues statistics — gh_issue_stats","text":"tibble","code":""},{"path":"https://ropengov.github.io/sorvi/reference/gh_issue_stats.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"GitHub issues statistics — gh_issue_stats","text":"function intended easy information retrieval rOpenGov package issues pull requests. specifically, function returns tibble containing information issue id, title, status (open closed), number comments, opened , created, openers status (rOpenGov organization member, package contributor regular user opened e.g. bug issue) type issue. GitHub Issues API handles Pull Requests Issues similarly therefore function returns types default. Different types issues can filtered using issue.type parameter. Kudos function go Jennifer Bryan. changes made mostly related adding additional fields (opener_type, issue_type) output tibble writing function around original contributions. scope function mainly help rOpenGov team analyze type user feedback get via GitHub issues therefore scope function limited.","code":""},{"path":[]},{"path":"https://ropengov.github.io/sorvi/reference/gh_issue_stats.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"GitHub issues statistics — gh_issue_stats","text":"Original scripts Jennifer Bryan (jennybc), function Pyry Kantanen ","code":""},{"path":"https://ropengov.github.io/sorvi/reference/kunnat1865_2021.html","id":null,"dir":"Reference","previous_headings":"","what":"Municipality dataset — kunnat1865_2021","title":"Municipality dataset — kunnat1865_2021","text":"dataset containing information instance individual municipalities.","code":""},{"path":"https://ropengov.github.io/sorvi/reference/kunnat1865_2021.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Municipality dataset — kunnat1865_2021","text":"","code":"kunnat1865_2021"},{"path":"https://ropengov.github.io/sorvi/reference/kunnat1865_2021.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Municipality dataset — kunnat1865_2021","text":"simple feature 1337 rows 10 variables: x Universal Resource Identifier (URI) municipality instance time. example: http://www.yso.fi/onto/sapo/Maalahti(1908-1972) kunta_nro Municipality code, unique number assigned municipality stays long municipality exists. example: \"475\" kunta_name_fi official name municipality Finnish. example: Maalahti kunta_name_fi official name municipality Swedish. example: Malax startyear Start year municipality instance, e.g. founding year. example: 1865 endyear End year municipality instance, can NA still valid. example: 1972 area Area municipality, square kilometers. example 185.00 muutos_kuvaus description change occurred beginning specific instance. example: \"Ahlainen erotettiin Ulvilasta 1908\" muutos_tyyppi Type change. example: \"Jakaantuminen\" muutos_tunniste Identifiers changes happened, can used link past future instances municipalities together. example: \"Jakaantuminen1534, Jakaantuminen2\"","code":""},{"path":"https://ropengov.github.io/sorvi/reference/kunnat1865_2021.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Municipality dataset — kunnat1865_2021","text":"Raw data downloaded ONKI.fi website 04 Aug 2022: http://onki.fi/en/browser/overview/sapo Data attribution: FinnONTO Consortium: https://seco.cs.aalto.fi/projects/finnonto/ Information abolished municipalities municipality name changes Statistics Finland website: Municipalities regional divisions based municipalities files classification publications","code":""},{"path":"https://ropengov.github.io/sorvi/reference/kunnat1865_2021.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Municipality dataset — kunnat1865_2021","text":"Finnish municipalities formed 1865 decree municipal governance country Asetus kunnallishallituksesta maalla 1865 dataset contains municipalities allegedly formed even . two instances \"illegal municipalities\" (Mustio Rutakko) recognized actual municipalities functioned late 1800s early 1900s.","code":""},{"path":"https://ropengov.github.io/sorvi/reference/load_sorvi_data.html","id":null,"dir":"Reference","previous_headings":"","what":"Supporting Data — load_sorvi_data","title":"Supporting Data — load_sorvi_data","text":"Load custom data sets.","code":""},{"path":"https://ropengov.github.io/sorvi/reference/load_sorvi_data.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Supporting Data — load_sorvi_data","text":"","code":"load_sorvi_data(data.id, verbose = TRUE)"},{"path":"https://ropengov.github.io/sorvi/reference/load_sorvi_data.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Supporting Data — load_sorvi_data","text":"data.id data ID download (see details) verbose verbose","code":""},{"path":"https://ropengov.github.io/sorvi/reference/load_sorvi_data.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Supporting Data — load_sorvi_data","text":"Data set. format depends data.","code":""},{"path":"https://ropengov.github.io/sorvi/reference/load_sorvi_data.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Supporting Data — load_sorvi_data","text":"following data sets available: translation_provincesTranslation Finnish province (maakunta) names (Finnish, English).","code":""},{"path":"https://ropengov.github.io/sorvi/reference/load_sorvi_data.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Supporting Data — load_sorvi_data","text":"See citation(\"sorvi\")","code":""},{"path":"https://ropengov.github.io/sorvi/reference/load_sorvi_data.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Supporting Data — load_sorvi_data","text":"Leo Lahti leo.lahti@iki.fi","code":""},{"path":"https://ropengov.github.io/sorvi/reference/load_sorvi_data.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Supporting Data — load_sorvi_data","text":"","code":"translations <- load_sorvi_data(\"translation_provinces\")"},{"path":"https://ropengov.github.io/sorvi/reference/polygons1909_2009.html","id":null,"dir":"Reference","previous_headings":"","what":"Municipality geometries — polygons1909_2009","title":"Municipality geometries — polygons1909_2009","text":"simple feature containing URIs, municipality codes geometries municipalities time. starting point end point municipality can determined combining polygons1909_2009 another dataset contains information.","code":""},{"path":"https://ropengov.github.io/sorvi/reference/polygons1909_2009.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Municipality geometries — polygons1909_2009","text":"","code":"polygons1909_2009"},{"path":"https://ropengov.github.io/sorvi/reference/polygons1909_2009.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Municipality geometries — polygons1909_2009","text":"simple feature 860 rows 3 variables: x Universal Resource Identifier (URI) municipality instance time. example: http://www.yso.fi/onto/sapo/Maalahti(1908-1972) kunta_nro Municipality code, unique 3-digit code (001-999) assigned municipality stays long municipality exists. example: \"475\" geometry single list column geometries","code":""},{"path":"https://ropengov.github.io/sorvi/reference/polygons1909_2009.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Municipality geometries — polygons1909_2009","text":"Original data downloaded ONKI.fi website 04 Aug 2022: http://onki.fi/en/browser/overview/sapo Data attribution: FinnONTO Consortium: https://seco.cs.aalto.fi/projects/finnonto/","code":""},{"path":"https://ropengov.github.io/sorvi/reference/sorvi-package.html","id":null,"dir":"Reference","previous_headings":"","what":"Algorithmic Tools for Open Data in Finland — sorvi-package","title":"Algorithmic Tools for Open Data in Finland — sorvi-package","text":"sorvi package hosts various functions mainly helpful rOpenGov package maintenance, package authoring drawing graphs presentations. Additionally functions (yet) package useful contexts.","code":""},{"path":"https://ropengov.github.io/sorvi/reference/sorvi-package.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Algorithmic Tools for Open Data in Finland — sorvi-package","text":"See citation(\"sorvi\") https://github.com/rOpenGov/sorvi","code":""},{"path":"https://ropengov.github.io/sorvi/reference/sorvi-package.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Algorithmic Tools for Open Data in Finland — sorvi-package","text":"Leo Lahti, Juuso Parkkinen, Jussi Paananen, Joona Lehtomaki, Einari Happonen, Juuso Haapanen, Pyry Kantanen louhos@googlegroups.com","code":""},{"path":"https://ropengov.github.io/sorvi/reference/sorvi-package.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Algorithmic Tools for Open Data in Finland — sorvi-package","text":"","code":"library(sorvi)"},{"path":[]},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"new-features-0-8-21","dir":"Changelog","previous_headings":"","what":"NEW FEATURES","title":"sorvi 0.8.21 (2023-08-21)","text":"Experimental new features package testing R functions datasets related mapping Finnish historical municipality maps: New experimental function: get_municipalities(), mapping historical Finnish municipalities. year argument can given filter correct selection municipalities given year. New experimental datasets: sorvi::kunnat1865_2021 sorvi::polygons1909_2009, containing needed data get_municipalities() function Raw data courtesy National Semantic Web Ontology Project Finland (FinnONTO), project Semantic Computing Research Group. Raw data downloaded Finnish Ontology Library Service ONKI (description SeCo website).","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"documentation-fixes-0-8-21","dir":"Changelog","previous_headings":"","what":"DOCUMENTATION FIXES","title":"sorvi 0.8.21 (2023-08-21)","text":"Removed table sorvi-package essentially contained information DESCRIPTION file, additional risk sometimes sorvi-package updated rest package .","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0820-2022-05-24","dir":"Changelog","previous_headings":"","what":"sorvi 0.8.20 (2022-05-24)","title":"sorvi 0.8.20 (2022-05-24)","text":"CRAN release: 2022-05-30","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"deprecated-and-defunct-0-8-20","dir":"Changelog","previous_headings":"","what":"DEPRECATED AND DEFUNCT","title":"sorvi 0.8.20 (2022-05-24)","text":"Removed following outdated .R files related functions: is_url, quickdf, convert_municipality_codes.R, convert_municipality_names.R, get_municipality_info_mml.R, municipality_to_province.R ropengov_storage_path.R. Removed qpdf, reshape2, RCurl rjson Depends curl imports","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"documentation-fixes-0-8-20","dir":"Changelog","previous_headings":"","what":"DOCUMENTATION FIXES","title":"sorvi 0.8.20 (2022-05-24)","text":"Removed mentions deprecated functions package vignette","code":""},{"path":[]},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"new-features-0-8-17","dir":"Changelog","previous_headings":"","what":"NEW FEATURES","title":"sorvi 0.8.17 (2021-11-30)","text":"New function: get_ifpi_charts() scraping data Musiikkituottajat - IFPI Finland ry charts","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"other-changes-0-8-17","dir":"Changelog","previous_headings":"","what":"OTHER CHANGES","title":"sorvi 0.8.17 (2021-11-30)","text":"Updated author list reflect current package; added acknowledgments","code":""},{"path":[]},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"new-features-0-8-16","dir":"Changelog","previous_headings":"","what":"NEW FEATURES","title":"sorvi 0.8.16 (2021-11-25)","text":"New function: cran_downloads() getting information package downloads optionally visualizing New function: gh_issue_stats() downloading information opened issues pull requests different repositories","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"minor-improvements-0-8-16","dir":"Changelog","previous_headings":"","what":"MINOR IMPROVEMENTS","title":"sorvi 0.8.16 (2021-11-25)","text":"Using GitHub Actions testing building pkgdown website rogtemplate, rendering README.md file Overall package cleaning fixing warnings, errors notes","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"deprecated-and-defunct-0-8-16","dir":"Changelog","previous_headings":"","what":"DEPRECATED AND DEFUNCT","title":"sorvi 0.8.16 (2021-11-25)","text":"Removed hetu-related functions, tests examples vignette (now separate hetu-package)","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"documentation-fixes-0-8-16","dir":"Changelog","previous_headings":"","what":"DOCUMENTATION FIXES","title":"sorvi 0.8.16 (2021-11-25)","text":"Option “eval=false” vignette examples relied GitHub data repository; GitHub seemed deny connections data downloaded several times vignette rebuilding","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-08-2017-03-02","dir":"Changelog","previous_headings":"","what":"sorvi 0.8 (2017-03-02)","title":"sorvi 0.8 (2017-03-02)","text":"Get data GitHub","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0724-2015-06-22","dir":"Changelog","previous_headings":"","what":"sorvi 0.7.24 (2015-06-22)","title":"sorvi 0.7.24 (2015-06-22)","text":"Removed get_postal_code_info Removed get_province_info","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0724-2014-06-04","dir":"Changelog","previous_headings":"","what":"sorvi 0.7.24 (2014-06-04)","title":"sorvi 0.7.24 (2014-06-04)","text":"Rewritten package moved many functions packages Updated vignette","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0403-2013-09-29","dir":"Changelog","previous_headings":"","what":"sorvi 0.4.03 (2013-09-29)","title":"sorvi 0.4.03 (2013-09-29)","text":"Submitted CRAN","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0401-2013-09-29","dir":"Changelog","previous_headings":"","what":"sorvi 0.4.01 (2013-09-29)","title":"sorvi 0.4.01 (2013-09-29)","text":"Cleaned warnings errors package conversion","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0203-2012-10-26","dir":"Changelog","previous_headings":"","what":"sorvi 0.2.03 (2012-10-26)","title":"sorvi 0.2.03 (2012-10-26)","text":"Fixed problems GetLukiot(), GetOikotie(), GetHRIaluejakokartat(), includes temporary fixes","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0200-2012-10-24","dir":"Changelog","previous_headings":"","what":"sorvi 0.2.00 (2012-10-24)","title":"sorvi 0.2.00 (2012-10-24)","text":"Minor fixed maps.R HKK.R","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0183-2012-09-03","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.83 (2012-09-03)","title":"sorvi 0.1.83 (2012-09-03)","text":"Fixed bug handling years hetu-function.","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0182-2012-08-31","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.82 (2012-08-31)","title":"sorvi 0.1.82 (2012-08-31)","text":"Added functions hetu valid.hetu processing Finnish personal identification numbers.","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0181-2012-08-14","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.81 (2012-08-14)","title":"sorvi 0.1.81 (2012-08-14)","text":"MML data Kunta.FI field updated: Lansi-Turunmaa -> Parainen; Pedersoren kunta -> Pedersore added R/datavaalit.R","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0179-2012-08-08","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.79 (2012-08-08)","title":"sorvi 0.1.79 (2012-08-08)","text":"removed data/ directory, moved rda files beta.datavaalit.fi/storage/louhos added LoadData function","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0173-2012-07-09","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.73 (2012-07-09)","title":"sorvi 0.1.73 (2012-07-09)","text":"Removed several dependencies made marginal (see wiki description)","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0171-2012-05-12","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.71 (2012-05-12)","title":"sorvi 0.1.71 (2012-05-12)","text":"GetMunicipalityInfo modified added ConvertMunicipalityNames function added GetParliamentaryElectionData function GetMunicipalityInfoMML GetMunicipalityInfoStatFi elections*.R functions added datavaalit","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0159-2012-03-10","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.59 (2012-03-10)","title":"sorvi 0.1.59 (2012-03-10)","text":"Added functions GetOmakaupunki, GetPalvelukartta, GetThemeMap Joined files googlemaps.R OpenStreetMap.R file maps.R","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0158-2012-03-06","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.58 (2012-03-06)","title":"sorvi 0.1.58 (2012-03-06)","text":"XML removed dependencies","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0157-2012-02-28","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.57 (2012-02-28)","title":"sorvi 0.1.57 (2012-02-28)","text":"added Seutukunta MML data (via bug fix GetShapeMML) spdep added dependencies (required GenerateMapColours) added function GenerateMapColours","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0155-2012-02-26","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.55 (2012-02-26)","title":"sorvi 0.1.55 (2012-02-26)","text":"GetMunicipalityInfo function updated: now retrieving comprehensive municipality-level information Tilastokeskus Maanmittauslaitos single table Added options PlotShape function","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0154-2012-02-26","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.54 (2012-02-26)","title":"sorvi 0.1.54 (2012-02-26)","text":"Added loaders.R (loading external data .rda-files) XLConnect longer required GetHKK returns single SpatialPolygonsDataFrame instead list new function SplitSpatial splits Spatial*DataFrame object list individual objects based splitter field Updated presidentti2012_PKS_20120201.R reflect changes HKK.R","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0153-2012-02-26","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.53 (2012-02-26)","title":"sorvi 0.1.53 (2012-02-26)","text":"replaced RBGL RColorBrewer dependencies","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0151-2012-02-26","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.51 (2012-02-26)","title":"sorvi 0.1.51 (2012-02-26)","text":"replaced RBGL RColorBrewer dependencies","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0150-2012-02-23","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.50 (2012-02-23)","title":"sorvi 0.1.50 (2012-02-23)","text":"added stringOperations.R (Strip function)","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0149-2012-02-13","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.49 (2012-02-13)","title":"sorvi 0.1.49 (2012-02-13)","text":"added package name front rgdal XML functions (XML::function) handle warnings package build removed special characters vaalit.R","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0148-2012-02-12","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.48 (2012-02-12)","title":"sorvi 0.1.48 (2012-02-12)","text":"Added functions: GetVaalipiiri, GetElectionResultsPresidentti2012 XML removed dependencies (problems R-forge Windows builds) px.R -> tilastokeskus.R","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0147-2012-02-03","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.47 (2012-02-03)","title":"sorvi 0.1.47 (2012-02-03)","text":"function PlotMatrix added RBGL added dependencies, required PlotMatrix","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0146-2012-02-02","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.46 (2012-02-02)","title":"sorvi 0.1.46 (2012-02-02)","text":"added matrixOperations.R: CenterData UnitScale functions added functions analyzing Finnish presidential election data Helsingin Sanomat vaalit.R removed maakunta.R source file removed function GetMaakuntainfo merged GetProvinceInfo FindProvince function argument name change: municipality.list -> municipalities","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0144-2011-12-31","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.44 (2011-12-31)","title":"sorvi 0.1.44 (2011-12-31)","text":"updated GetShapeMML documentation, recreated MML.rda","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0143-2011-12-29","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.43 (2011-12-29)","title":"sorvi 0.1.43 (2011-12-29)","text":"GoogleStyleGuide issues completed examples updated vignette updated GitHub taken use release version","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0142-2011-12-27","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.42 (2011-12-27)","title":"sorvi 0.1.42 (2011-12-27)","text":"get.population.register -> GetPopulationRegister preprocess.px -> GetPXTilastokeskus shape2sorvi -> ReadShape visualize.shape -> PlotShape Added internal function .url","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0141-2011-12-27","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.41 (2011-12-27)","title":"sorvi 0.1.41 (2011-12-27)","text":"WMS functionality included Added wms.R Added functions PreprocessWMS, GetWMSlayers, LoadWMSurl, GetWMSraster ListWMSurls Added internal functions BuildService GetCapabilities Modified AllClasses.R Added classes WMS WMSLayer Added example 20111127-OIVAwms.R","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0140-2011-12-26","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.40 (2011-12-26)","title":"sorvi 0.1.40 (2011-12-26)","text":"get.geocode.GoogleMaps -> GetGeocodeGoogleMaps get.staticmap.GoogleMaps -> GetStaticmapGoogleMaps get.geocode.OpenStreetMap -> GetGeocodeOpenStreetMap preprocess.PKS.aluejakokartat -> GetHRIaluejakokartat preprocess.PKS.lukiot -> GetLukiot getPresidentti2012Data -> GetPresidentti2012 load.migration.data -> GetWorldbankMigration load.apurahat -> GetApurahat preprocess.Oikotie -> GetOikotie Removed datasets: Oikotie, PKS.lukiot (use Get-functions instead) Added updated examples Louhos-articles","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0139-2011-12-24","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.39 (2011-12-24)","title":"sorvi 0.1.39 (2011-12-24)","text":"get.postal.codes -> GetPostalCodeInfo get.province.info -> GetProvinceInfo get.municipality.info -> GetMunicipalityInfo municipality2province -> FindProvince get.hsy -> GetHSY preprocess.shape.mml -> PreprocessShapeMML Added internal function GetShapeMML provide details original MML data preprocessing","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0138-2011-12-22","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.38 (2011-12-22)","title":"sorvi 0.1.38 (2011-12-22)","text":"Changes follow R Style Guide get.gadm -> GetGADM; now converting names UTF-8; also changes output gadm.position2region -> FindGADMPosition2Region; also changes output Added internal function: ConvertGADMResolution","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0136-2011-12-21","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.36 (2011-12-21)","title":"sorvi 0.1.36 (2011-12-21)","text":"get.gadm: alue -> map / fixed taso / added korvaa.skandit","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0134-2011-12-20","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.34 (2011-12-20)","title":"sorvi 0.1.34 (2011-12-20)","text":"Roxygenization completed. package documentation now generated instance library(devtools); document(“pkg”)","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0132-2011-12-19","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.32 (2011-12-19)","title":"sorvi 0.1.32 (2011-12-19)","text":"Changed several R file names general ones (Juuso) ROxygen fields added googlemaps.R, HRI.R, koulut.R, kulttuuri.R, Oikotie.R, OpenStreetMap.R, vaalit.R, worldbank.R Documented PKS.lukiot, Oikotie, PKS.aluejakokartat data sets data.documentation.R","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0131-2011-12-18","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.31 (2011-12-18)","title":"sorvi 0.1.31 (2011-12-18)","text":"get.vaestorekisteri -> get.population.register Roxygen fields added HSY.R, mml.R, population.register.R, px.R, visualization.R roxygen removed dependencies added data.documentation.R Roxygen documentation sorvi data sets; documented MML translations data sets","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0130-2011-12-18","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.30 (2011-12-18)","title":"sorvi 0.1.30 (2011-12-18)","text":"get.gadm: argument name change: alue -> resolution get.maakuntatiedot.R -> get.province.info.R added sorvi-package.R Roxygen fields added gadm.R, get.postal.codes.R, get.province.info.R. Also moved urls function arguments within functions applicable roxygen added dependencies","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0129-2011-12-11","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.29 (2011-12-11)","title":"sorvi 0.1.29 (2011-12-11)","text":"added vaalit.R contains getPresidentti2012Data","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0128-2011-12-09","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.28 (2011-12-09)","title":"sorvi 0.1.28 (2011-12-09)","text":"added HSY.R contains get.hsy function; unintentionally missing version 0.1.27","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0127-2011-12-06","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.27 (2011-12-06)","title":"sorvi 0.1.27 (2011-12-06)","text":"added get.hsy function automated retrieval HSY data removed HSY data get.postinumerot -> get.postal.codes","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0126-2011-12-05","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.26 (2011-12-05)","title":"sorvi 0.1.26 (2011-12-05)","text":"get.maakuntatiedot -> get.province.info Added functions get.municipality.info, get.province.info, municipality2province","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0125-2011-12-04","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.25 (2011-12-04)","title":"sorvi 0.1.25 (2011-12-04)","text":"Added HSY data","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0123-2011-11-15","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.23 (2011-11-15)","title":"sorvi 0.1.23 (2011-11-15)","text":"Lisatty funktiot load.migration.data()","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0122-2011-11-12","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.22 (2011-11-12)","title":"sorvi 0.1.22 (2011-11-12)","text":"Lisatty funktiot load.apurahat() ja load.maakuntakartta()","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0114-2011-10-30","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.14 (2011-10-30)","title":"sorvi 0.1.14 (2011-10-30)","text":"MML:n datat lisatty valmiiksi esikasiteltyna data(MML)-objektiin (data/MML.rda) funktionimet muutettu englanninkielisiksi: hae -> get; putsaa -> preprocess #sorvi 0.1.13 (2011-10-24) - Dokumentointia paivitetty versiosta 0.1.11. #sorvi 0.1.11 (2011-10-23) - Juuson ensimmainen paivitys - Datoja: Oikotie, paakaupunkiseudun aluejakokartat, lukiot - Funktiot yll? olevian datojen muokkaamiseen - Funktioita RGoogleMapsin kayttoon - HUOM! Dokumentaatio osin puutteellista!","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0109-2011-10-18","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.09 (2011-10-18)","title":"sorvi 0.1.09 (2011-10-18)","text":"mml.R Maanmittauslaitoksen datoille apufunktioita","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0108-2011-10-18","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.08 (2011-10-18)","title":"sorvi 0.1.08 (2011-10-18)","text":"vignetteen esimerkkeja aineistohauista ym. Maanmittauslaitoksen karttadatoja lisatty inst/extdata/Maanmittauslaitos/","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0104-2011-10-09","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.04 (2011-10-09)","title":"sorvi 0.1.04 (2011-10-09)","text":"hae.postinumerot: Suomen kuntien ja postinumeroiden mappaamiseen korvaa.skandit: apufunktio skandien kasittelyyn","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0103-2011-10-09","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.03 (2011-10-09)","title":"sorvi 0.1.03 (2011-10-09)","text":"Valineita vaestorekisterikeskuksen datan screenscrapingiin (hae.vaestorekisteri) ja GADM-muotoisen karttadatan hakuun (hae.gadm)","code":""},{"path":"https://ropengov.github.io/sorvi/news/index.html","id":"sorvi-0101-2011-10-06","dir":"Changelog","previous_headings":"","what":"sorvi 0.1.01 (2011-10-06)","title":"sorvi 0.1.01 (2011-10-06)","text":"Eka versio","code":""}]