Used-car market dataset for Latvia 2018

Used-car market monitoring was started in 2018, 03 January, when Federal Administrative Court in Leipzig (Germany) allowed cities and communes in Germany to impose bans for diesel cars in order to reduce the level of nitric oxide in the air. This decision can radically change used-car market in the EU, because Germany massive exports used cars to Eastern Europe. The database shows the influence of the Germany Court decision to the used-car market in Latvia, as part of the EU market. The database represents the used-car market monitoring in Latvia during 2018. In Latvia 20–22th. used-car are offered for sale each month. The database reflects the observation dynamics of 12 months. In the observations there are included main used-car characteristics such as price, first registration date, motor cubic capacity, motor type, gearbox type, mileage, color, producer (brand), model, body types, (following) technical inspection data, set (features) of cars and so on.


Experimental factors
Data was groped by months according collection process, no changes were made to the data Experimental features Latvian used-car market not so big, so it is possible to observe market advertisements in internet with Data Mining technologies. There was collected average 21 thousands offers per months of used-car in Latvia in 2018 for 12 month.

Data source location
Latvia, European Union Data accessibility Data is attached with this article Related research article Skribans V., Hegerty, S.W. Data mining application for used-car market analysis (In press) [1] Value of the data The data reflects the used-car market and preferences of cars buyers in Latvia. It is possible to analyze the effects of diesel-gate and German legal restrictions on the industry in Latvia, based on it, it is possible draw conclusions about the long-term sustainable development of the car manufacturing industry in EU (because Germany massive exports used cars to Eastern Europe, including Latvia). The data set confirms that in situation, when in Germany ratio of diesel cars decrease, in Latvia the ratio increase for used-car only. Based on data it possible forecast, when last diesel car in Latvia (and, probably, in Europa) will be utilized.
Data can be used for illegal economy estimation in Latvia on used-car market (for it, it is needed to compare data with official institution data [2]).

Data
Database consists of Latvian used-car market advertisements monitoring, total 258.6 th. observations. The database fields are cars price, first registration date, motor cubic capacity, motor type, gearbox type, mileage, color, producer (brand), model, body types, (following) technical inspection date, set (features) of cars and so on.

Experimental design, materials, and methods
In Latvia, EU it is possible to observe market advertisements in internet with Data Mining technologies. There was collected average 21 thousands offers per months of used-car in Latvia, it is 3 times more offers then available in Latvian Vehicle Trade Register Information System [2], which is official state register, which was established on the basis of the LR Cabinet of Ministers Regulations No. 876 from 18 December 2007 [3]. This shows the advantage of the Data Science and Data Mining methods for collecting and providing information for different purposes.
The database was collected from biggest in the Latvia advertisement website www.ss.com [4] from its transport and cars section, by monthly repeated following R studio data scraping code: library(Rcrawler) Rcrawler(Website ¼ "https://www.ss.com/lv/transport/cars/", KeywordsFilter ¼ c("auto"), no_cores ¼ 4, no_conn ¼ 4, 6, ExtractXpathPat The data source represent biggest part of Latvian advertisements, the close competitor, reklama.lv [5], have has seven times less ads, so it is concluded, that the attached database fully represent Latvian used-car market in 2018. Collected data was compared with EU data [6].
The relevance of the study is confirmed by the situation in the EU in November -December of 2018. In Belgium and France after diesel cars' tax increase had start riots [25]. In Germany, the situation is not so tense, given that for Germany there is the possibility of exporting diesel cars to the Eastern European countries.

Transparency document. Supplementary material
Transparency document associated with this article can be found in the online version at https:// doi.org/10.1016/j.dib.2018.12.075.

Appendix A. Supplementary material
Supplementary data associated with this article can be found in the online version at https://doi. org/10.1016/j.dib.2018.12.075.