{"id":51306472,"url":"https://github.com/lastunicorn/ins-toolkit","last_synced_at":"2026-07-01T00:02:39.508Z","repository":{"id":363410906,"uuid":"1263303581","full_name":"lastunicorn/ins-toolkit","owner":"lastunicorn","description":"A .NET library that helps working with files and data from INS (Institutul Național de Statistică din România).","archived":false,"fork":false,"pushed_at":"2026-06-25T10:46:10.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-06-25T12:17:51.745Z","etag":null,"topics":["consumer-price-index","inflation","ins","statistics"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lastunicorn.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.txt","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"lastunicorn","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2026-06-08T20:29:55.000Z","updated_at":"2026-06-25T10:46:14.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/lastunicorn/ins-toolkit","commit_stats":null,"previous_names":["lastunicorn/ins-toolkit"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/lastunicorn/ins-toolkit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lastunicorn%2Fins-toolkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lastunicorn%2Fins-toolkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lastunicorn%2Fins-toolkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lastunicorn%2Fins-toolkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lastunicorn","download_url":"https://codeload.github.com/lastunicorn/ins-toolkit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lastunicorn%2Fins-toolkit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34987611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-30T02:00:05.919Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["consumer-price-index","inflation","ins","statistics"],"created_at":"2026-07-01T00:02:38.009Z","updated_at":"2026-07-01T00:02:39.495Z","avatar_url":"https://github.com/lastunicorn.png","language":"C#","funding_links":["https://ko-fi.com/lastunicorn"],"categories":[],"sub_categories":[],"readme":"# INS Toolkit\n\n[![GitHub Repo](https://img.shields.io/badge/github-repo-blue?logo=github)](https://github.com/lastunicorn/ins-toolkit) [![GitHub Build](https://img.shields.io/github/actions/workflow/status/lastunicorn/ins-toolkit/build-master.yml?logo=github)](https://github.com/lastunicorn/ins-toolkit/actions/workflows/build-master.yml) [![NuGet Version](https://img.shields.io/nuget/v/DustInTheWind.Ins.Toolkit?logo=nuget)](https://www.nuget.org/packages/DustInTheWind.Ins.Toolkit) [![NuGet Downloads](https://img.shields.io/nuget/dt/DustInTheWind.Ins.Toolkit?logo=nuget)](https://www.nuget.org/packages/DustInTheWind.Ins.Toolkit)\n\n`INS Toolkit` is a .NET library that helps working with files and data from INS.\n\nINS is the Romanian National Statistics Institute (Institutul Național de Statistică)\n\n- https://insse.ro\n\n## Installation\n\nPackage Manager:\n\n```powershell\nInstall-Package DustInTheWind.Ins.Toolkit\n```\n\n.NET CLI:\n\n```bash\ndotnet add package DustInTheWind.Ins.Toolkit\n```\n\n## Runtime Requirements\n\n- Library target framework: `.NET 8.0` (`net8.0`)\n\n## Vocabulary\n\n**CPI**\n\nThe Consumer Price Index (CPI) presents the percentage change in prices that consumers pay for goods and services.\n\nhttps://www.investopedia.com/terms/c/consumerpriceindex.asp\n\nRomanian:\n\n- Indicele Prețurilor de Consum (IPC)\n\n## CPI (Yearly)\n\n### a) In the Browser\n\n1. Open https://insse.ro web page in a browser.\n2. Navigate to \"Date Statistice\" -\u003e \"Serii de date\" -\u003e \"IPC - serii de date\" -\u003e \"IPC - serie de date anuala\"\n\nOR\n\n1. Access directly the URL:\n   - https://insse.ro/cms/ro/content/ipc%E2%80%93serie-de-date-anuala\n\n### b) Parse the Web Page\n\nThere is no computer friendly access to the data, so, the only approach is to read the HTML page and extract the data from there.\n\n```csharp\nusing DustInTheWind.Ins.Toolkit;\n\nYearlyCpiWebPage webPage = new();\nIEnumerable\u003cYearlyCpiRecord\u003e records = await webPage.EnumerateRecords();\n\nforeach (YearlyCpiRecord record in records)\n{\n    ...\n}\n```\n\n\u003e **Note**\n\u003e\n\u003e Because the number format used by the INS web page is inconsistent (sometimes the decimal is marked with \".\", sometimes with \",\") we recommend to thoroughly verify the imported values before using them.\n\n## CPI (Quarterly)\n\nCPI = Consumer Price Index\n\n### a) In the Browser\n\n1. Open https://insse.ro web page in a browser.\n2. Navigate to \"Date Statistice\" -\u003e \"Serii de date\" -\u003e \"IPC - serii de date\" -\u003e \"IPC - serie de date trimestriala\"\n\nOR\n\n1. access directly the URL:\n   - https://insse.ro/cms/ro/content/ipc-serie-de-date-trimestriala\n\n### b) Parse the Web Page\n\nThere is no computer friendly access to the data, so, the only approach is to read the HTML page and extract the data from there.\n\n```csharp\nusing DustInTheWind.Ins.Toolkit;\n\nQuarterlyCpiWebPage webPage = new();\nIEnumerable\u003cQuarterlyCpiRecord\u003e records = await webPage.EnumerateRecords();\n\nforeach (QuarterlyCpiRecord record in records)\n{\n    ...\n}\n```\n\n\u003e **Note**\n\u003e\n\u003e Because the number format used by the INS web page is inconsistent (sometimes the decimal is marked with \".\", sometimes with \",\") we recommend to thoroughly verify the imported values before using them.\n\n## Average Wage (Yearly)\n\n### a) In the Browser\n\n1. Open https://insse.ro web page in a browser.\n2. Navigate to \"Date Statistice\" -\u003e \"Serii de date\" -\u003e \"Câștiguri - serii de date\" -\u003e \"Câștiguri salariale din 1938 - serie anuală\"\n\nOR\n\n1. access directly the URL:\n   - https://insse.ro/cms/ro/content/c%C3%A2%C8%99tiguri-salariale-din-1938-serie-anual%C4%83-0\n\n### b) Parse the Web Page\n\nThere is no computer friendly access to the data, so, the only approach is to read the HTML page and extract the data from there.\n\n```csharp\nusing DustInTheWind.Ins.Toolkit;\n\nYearlyAverageWageWebPage webPage = new();\nIEnumerable\u003cYearlyAverageWageRecord\u003e records = await webPage.EnumerateRecords();\n\nforeach (YearlyAverageWageRecord record in records)\n{\n    ...\n}\n```\n\n## Average Wage (Monthly)\n\n### a) In the Browser\n\n1. Open https://insse.ro web page in a browser.\n2. Navigate to \"Date Statistice\" -\u003e \"Serii de date\" -\u003e \"Câștiguri - serii de date\" -\u003e \"Câștiguri salariale - din 1991, serie lunară\"\n\nOR\n\n1. access directly the URL:\n   - https://insse.ro/cms/ro/content/c%C3%A2%C8%99tiguri-salariale-din-1991-serie-lunar%C4%83\n\n### b) Parse the Web Page\n\nThere is no computer friendly access to the data, so, the only approach is to read the HTML page and extract the data from there.\n\n```csharp\nusing DustInTheWind.Ins.Toolkit;\n\nMonthlyAverageWageWebPage webpage = new();\nIEnumerable\u003cMonthlyAverageWageRecord\u003e records = await webpage.EnumerateRecords();\n\nforeach (MonthlyAverageWageRecord record in records)\n{\n    ...\n}\n```\n\n## Demo Project\n\nThe repository includes a sample CLI project in `sources/Ins.Toolkit.Demo` that demonstrates:\n\n- download and and extract data from the INS web pages\n- printing parsed data.\n\nYou can use this project as a reference implementation for your own importer/exporter tools.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flastunicorn%2Fins-toolkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flastunicorn%2Fins-toolkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flastunicorn%2Fins-toolkit/lists"}