There's a few very interesting online tools dealing with fantasy demography for purposes of roleplaying (e.g. http://www.rpglibrary.org/utils/meddemog/ ). These could be cross referenced to medieval (because these days fantasy is synonymous to medieval for some reason) demographic or infrastructure works.

Worldbuilding is a really good term to use when searching for these online as well.